cvs: pear /DBA DBA_Relational.php
| From: | Brent Cook | Date: | Wed, 17 Jul 2002 07:39:04 +0000 |
| Subject: | cvs: pear /DBA DBA_Relational.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5146@lists.php.net to get a copy of this message | ||
busterb Wed Jul 17 03:39:04 2002 EDT
Modified files:
/pear/DBA DBA_Relational.php
Log:
ensure that newly created tables use the correct dba driver
Index: pear/DBA/DBA_Relational.php
diff -u pear/DBA/DBA_Relational.php:1.35 pear/DBA/DBA_Relational.php:1.36
--- pear/DBA/DBA_Relational.php:1.35 Wed Jul 17 03:30:10 2002
+++ pear/DBA/DBA_Relational.php Wed Jul 17 03:39:04 2002
@@ -18,7 +18,7 @@
// | Foundation, Inc., 59 Temple Place, Suite 330,Boston,MA 02111-1307 USA|
// +----------------------------------------------------------------------+
//
-// $Id: DBA_Relational.php,v 1.35 2002/07/17 07:30:10 busterb Exp $
+// $Id: DBA_Relational.php,v 1.36 2002/07/17 07:39:04 busterb Exp $
require_once 'PEAR.php';
require_once 'DB/DBA/DBA_Table.php';
@@ -176,7 +176,7 @@
{
// check if this table object exists
if (!isset($this->_tables[$tableName])) {
- $this->_tables[$tableName] = new DBA_Table();
+ $this->_tables[$tableName] = new DBA_Table($this->_driver);
} else {
// the table object exists, so the table must exist
return $this->raiseError("cannot create table: $tableName,".