cvs: pear /DB_DataObject/DataObject Generator.php
| From: | Alan Knowles | Date: | Tue, 16 Jan 2007 03:08:39 +0000 |
| Subject: | cvs: pear /DB_DataObject/DataObject Generator.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-44243@lists.php.net to get a copy of this message | ||
alan_k Tue Jan 16 03:08:39 2007 UTC
Modified files:
/pear/DB_DataObject/DataObject Generator.php
Log:
partial fix bug #9644 - incorrect constant in foriegn key generation. - code still needs debugging
though
http://cvs.php.net/viewvc.cgi/pear/DB_DataObject/DataObject/Generator.php?r1=1.127&r2=1.128&diff_format=u
Index: pear/DB_DataObject/DataObject/Generator.php
diff -u pear/DB_DataObject/DataObject/Generator.php:1.127
pear/DB_DataObject/DataObject/Generator.php:1.128
--- pear/DB_DataObject/DataObject/Generator.php:1.127 Tue Jan 16 03:05:18 2007
+++ pear/DB_DataObject/DataObject/Generator.php Tue Jan 16 03:08:39 2007
@@ -15,7 +15,7 @@
* @author Alan Knowles <alan@akbkhome.com>
* @copyright 1997-2006 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Generator.php,v 1.127 2007/01/16 03:05:18 alan_k Exp $
+ * @version CVS: $Id: Generator.php,v 1.128 2007/01/16 03:08:39 alan_k Exp $
* @link http://pear.php.net/package/DB_DataObject
*/
@@ -380,7 +380,7 @@
die($res->getMessage());
}
- $text = $res->fetchRow(DB_DEFAULT_MODE, 0);
+ $text = $res->fetchRow(DB_FETCHMODE_DEFAULT, 0);
$treffer = array();
// Extract FOREIGN KEYS
preg_match_all(