[Solar-svn] Revision 2889
pmjones at solarphp.com
pmjones at solarphp.com
Thu Oct 18 08:34:18 CDT 2007
Solar_Sql_Adapter
* [BRK] Changed protected _connect() to public connect().
* [ADD] Method disconnect() to close database connection; thanks, Rodrigo Moraes.
fixes #96
Modified: trunk/Solar/Sql/Adapter/Pgsql.php
===================================================================
--- trunk/Solar/Sql/Adapter/Pgsql.php 2007-10-18 13:20:29 UTC (rev 2888)
+++ trunk/Solar/Sql/Adapter/Pgsql.php 2007-10-18 13:34:18 UTC (rev 2889)
@@ -327,7 +327,7 @@
*/
public function lastInsertId($table = null, $col = null)
{
- $this->_connect();
+ $this->connect();
$name = "{$table}_{$col}_seq";
return $this->_pdo->lastInsertId($name);
}
More information about the Solar-svn
mailing list