lsmith Wed Jul 31 08:09:22 2002 EDT
Modified files:
/pear/MDB manager_common.php
Log:
all method calls in the extension should go through the main db object
Index: pear/MDB/manager_common.php
diff -u pear/MDB/manager_common.php:1.13 pear/MDB/manager_common.php:1.14
--- pear/MDB/manager_common.php:1.13 Tue Jul 30 15:11:01 2002
+++ pear/MDB/manager_common.php Wed Jul 31 08:09:22 2002
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@xxxxxxxxx> |
// +----------------------------------------------------------------------+
//
-// $Id: manager_common.php,v 1.13 2002/07/30 19:11:01 lsmith Exp $
+// $Id: manager_common.php,v 1.14 2002/07/31 12:09:22 lsmith Exp $
//
/**
@@ -270,7 +270,7 @@
return $db->raiseError(DB_ERROR_CANNOT_CREATE, '', '', 'no fields
specified for table "'.$name.'"');
}
$query_fields = '';
- if (!$this->getFieldDeclarationList($db, $fields, $query_fields)) {
+ if (!$db->getFieldDeclarationList($db, $fields, $query_fields)) {
return $db->raiseError(DB_ERROR_CANNOT_CREATE, '', '', 'unkown
error');
}
return ($db->query("CREATE TABLE $name ($query_fields)"));
--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|