cvs: pear /MDB2/MDB2/Driver pgsql.php sqlite.php
| From: | Lukas Smith | Date: | Tue, 22 Feb 2005 09:51:42 +0000 |
| Subject: | cvs: pear /MDB2/MDB2/Driver pgsql.php sqlite.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-29664@lists.php.net to get a copy of this message | ||
lsmith Tue Feb 22 04:51:42 2005 EDT
Modified files:
/pear/MDB2/MDB2/Driver pgsql.php sqlite.php
Log:
- dont force the module name to ucfirst() in loadModule()
http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/pgsql.php?r1=1.51&r2=1.52&ty=u
Index: pear/MDB2/MDB2/Driver/pgsql.php
diff -u pear/MDB2/MDB2/Driver/pgsql.php:1.51 pear/MDB2/MDB2/Driver/pgsql.php:1.52
--- pear/MDB2/MDB2/Driver/pgsql.php:1.51 Wed Jan 12 14:55:24 2005
+++ pear/MDB2/MDB2/Driver/pgsql.php Tue Feb 22 04:51:42 2005
@@ -43,7 +43,7 @@
// | Author: Paul Cooper <pgc@ucecom.com> |
// +----------------------------------------------------------------------+
//
-// $Id: pgsql.php,v 1.51 2005/01/12 19:55:24 lsmith Exp $
+// $Id: pgsql.php,v 1.52 2005/02/22 09:51:42 lsmith Exp $
/**
* MDB2 PostGreSQL driver
@@ -469,7 +469,7 @@
$this->popExpect();
if (MDB2::isError($result)) {
if ($ondemand && $result->getCode() == MDB2_ERROR_NOSUCHTABLE) {
- $this->loadModule('manager');
+ $this->loadModule('Manager');
$result = $this->manager->createSequence($seq_name, 1);
if (MDB2::isError($result)) {
return $this->raiseError(MDB2_ERROR, null, null,
http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/sqlite.php?r1=1.51&r2=1.52&ty=u
Index: pear/MDB2/MDB2/Driver/sqlite.php
diff -u pear/MDB2/MDB2/Driver/sqlite.php:1.51 pear/MDB2/MDB2/Driver/sqlite.php:1.52
--- pear/MDB2/MDB2/Driver/sqlite.php:1.51 Wed Jan 12 14:55:24 2005
+++ pear/MDB2/MDB2/Driver/sqlite.php Tue Feb 22 04:51:42 2005
@@ -43,7 +43,7 @@
// | Author: Lukas Smith <smith@backendmedia.com> |
// +----------------------------------------------------------------------+
//
-// $Id: sqlite.php,v 1.51 2005/01/12 19:55:24 lsmith Exp $
+// $Id: sqlite.php,v 1.52 2005/02/22 09:51:42 lsmith Exp $
//
/**
@@ -560,7 +560,7 @@
$this->popExpect();
if (MDB2::isError($result)) {
if ($ondemand && $result->getCode() == MDB2_ERROR_NOSUCHTABLE) {
- $this->loadModule('manager');
+ $this->loadModule('Manager');
// Since we are creating the sequence on demand
// we know the first id = 1 so initialize the
// sequence at 2
@@ -597,7 +597,7 @@
*/
function getAfterID($id, $table)
{
- $this->loadModule('native');
+ $this->loadModule('Native');
return $this->native->getInsertID();
}