cvs: php4 /pear/DB mysql.php
| From: | Stig Bakken | Date: | Sun, 22 Jul 2001 00:05:44 +0000 |
| Subject: | cvs: php4 /pear/DB mysql.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-308@lists.php.net to get a copy of this message | ||
ssb Sat Jul 21 20:05:44 2001 EDT
Modified files:
/php4/pear/DB mysql.php
Log:
*doh*
Index: php4/pear/DB/mysql.php
diff -u php4/pear/DB/mysql.php:1.62 php4/pear/DB/mysql.php:1.63
--- php4/pear/DB/mysql.php:1.62 Sat Jul 21 19:50:06 2001
+++ php4/pear/DB/mysql.php Sat Jul 21 20:05:44 2001
@@ -375,9 +375,9 @@
do {
// XXX HACK: temporarily force error mode to "return"
$tmp = $this->_default_error_mode;
-// $this->_default_error_mode = PEAR_ERROR_RETURN;
+ $this->_default_error_mode = PEAR_ERROR_RETURN;
$result = $this->query("INSERT INTO ${sqn}_seq VALUES(NULL)");
-// $this->_default_error_mode = $tmp;
+ $this->_default_error_mode = $tmp;
if ($ondemand && DB::isError($result) &&
$result->getCode() == DB_ERROR_NOSUCHTABLE) {
$repeat = 1;