cvs: pear(MDB_1) /MDB/MDB mysql.php
| From: | Lukas Smith | Date: | Mon, 16 Feb 2004 08:49:04 +0000 |
| Subject: | cvs: pear(MDB_1) /MDB/MDB mysql.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-16598@lists.php.net to get a copy of this message | ||
lsmith Mon Feb 16 03:49:04 2004 EDT
Modified files: (Branch: MDB_1)
/pear/MDB/MDB mysql.php
Log:
fixed bug #764
http://cvs.php.net/diff.php/pear/MDB/MDB/mysql.php?r1=1.80.4.9&r2=1.80.4.10&ty=u
Index: pear/MDB/MDB/mysql.php
diff -u pear/MDB/MDB/mysql.php:1.80.4.9 pear/MDB/MDB/mysql.php:1.80.4.10
--- pear/MDB/MDB/mysql.php:1.80.4.9 Sun Feb 15 11:36:09 2004
+++ pear/MDB/MDB/mysql.php Mon Feb 16 03:49:00 2004
@@ -43,7 +43,7 @@
// | Author: Lukas Smith <smith@backendmedia.com> |
// +----------------------------------------------------------------------+
//
-// $Id: mysql.php,v 1.80.4.9 2004/02/15 16:36:09 lsmith Exp $
+// $Id: mysql.php,v 1.80.4.10 2004/02/16 08:49:00 lsmith Exp $
//
require_once('MDB/Common.php');
@@ -368,7 +368,7 @@
}
}
if (isset($this->supported['Transactions']) && !$this->auto_commit)
{
- if (@mysql_query('SET AUTOCOMMIT = 0', $this->connection)) {
+ if (!@mysql_query('SET AUTOCOMMIT = 0', $this->connection)) {
@mysql_close($this->connection);
$this->connection = 0;
$this->affected_rows = -1;