[Solar-svn] Revision 2693
pmjones at solarphp.com
pmjones at solarphp.com
Mon Aug 13 17:45:08 CDT 2007
Branch: Solar_Sql_Adapter: [CHG] On table creation, returns slightly better error information.
Modified: branches/orm/Solar/Sql/Adapter.php
===================================================================
--- branches/orm/Solar/Sql/Adapter.php 2007-08-13 22:31:44 UTC (rev 2692)
+++ branches/orm/Solar/Sql/Adapter.php 2007-08-13 22:45:08 UTC (rev 2693)
@@ -1414,7 +1414,7 @@
try {
$coldef[] = $this->_sqlColdef($name, $info);
} catch (Exception $e) {
- $err[$name] = $e->getInfo();
+ $err[$name] = array($e->getCode(), $e->getInfo());
}
}
More information about the Solar-svn
mailing list