cvs: pear /MDB2_Schema/MDB2 Schema.php
| From: | Lukas Smith | Date: | Thu, 23 Mar 2006 13:23:04 +0000 |
| Subject: | cvs: pear /MDB2_Schema/MDB2 Schema.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-39292@lists.php.net to get a copy of this message | ||
lsmith Thu Mar 23 13:23:04 2006 UTC
Modified files:
/pear/MDB2_Schema/MDB2 Schema.php
Log:
- load function module (this is useful when quoting temporal default values like CURRENT_* ..
although mysql, sqlite and possibly other rdbms do not support this anyways
http://cvs.php.net/viewcvs.cgi/pear/MDB2_Schema/MDB2/Schema.php?r1=1.61&r2=1.62&diff_format=u
Index: pear/MDB2_Schema/MDB2/Schema.php
diff -u pear/MDB2_Schema/MDB2/Schema.php:1.61 pear/MDB2_Schema/MDB2/Schema.php:1.62
--- pear/MDB2_Schema/MDB2/Schema.php:1.61 Tue Mar 21 09:26:40 2006
+++ pear/MDB2_Schema/MDB2/Schema.php Thu Mar 23 13:23:04 2006
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@pooteeweet.org> |
// +----------------------------------------------------------------------+
//
-// $Id: Schema.php,v 1.61 2006/03/21 09:26:40 lsmith Exp $
+// $Id: Schema.php,v 1.62 2006/03/23 13:23:04 lsmith Exp $
//
require_once 'MDB2.php';
@@ -260,6 +260,7 @@
$this->db->loadModule('Datatype');
$this->db->loadModule('Manager');
$this->db->loadModule('Reverse');
+ $this->db->loadModule('Function');
if (empty($this->options['valid_types'])) {
$this->options['valid_types'] = $this->db->datatype->valid_types;
}