cvs: php4 /pear/DB mysql.php

From: Date: Sat, 08 Sep 2001 12:17:24 +0000
Subject: cvs: php4 /pear/DB mysql.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-813@lists.php.net to get a copy of this message
cox Sat Sep 8 08:17:24 2001 EDT Modified files: /php4/pear/DB mysql.php Log: just in case Index: php4/pear/DB/mysql.php diff -u php4/pear/DB/mysql.php:1.72 php4/pear/DB/mysql.php:1.73 --- php4/pear/DB/mysql.php:1.72 Thu Sep 6 19:44:10 2001 +++ php4/pear/DB/mysql.php Sat Sep 8 08:17:24 2001 @@ -133,7 +133,9 @@ if ($dsninfo['database']) { // fix to allow calls to different databases in the same script - if (!isset($GLOBALS['_DB_mysql_changed_database'])) { + if (!isset($GLOBALS['_DB_mysql_changed_database']) || + !$GLOBALS['_DB_mysql_changed_database']) + { $this->_changed_db = false; if (!@mysql_select_db($dsninfo['database'], $conn)) { return $this->raiseError(DB_ERROR_NODBSELECTED, null, null,

« previous php.pear.cvs (#813) next »