cvs: pear /MDB2 package_mysql.php /MDB2/MDB2/Driver mysql.php

From: Date: Wed, 25 Apr 2007 09:25:26 +0000
Subject: cvs: pear /MDB2 package_mysql.php /MDB2/MDB2/Driver mysql.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-46160@lists.php.net to get a copy of this message
quipo Wed Apr 25 09:25:26 2007 UTC Modified files: /pear/MDB2/MDB2/Driver mysql.php /pear/MDB2 package_mysql.php Log: fixed bug #10807: connect() Method Incorrectly Caches Connections [fornax] http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2/Driver/mysql.php?r1=1.179&r2=1.180&diff_format=u Index: pear/MDB2/MDB2/Driver/mysql.php diff -u pear/MDB2/MDB2/Driver/mysql.php:1.179 pear/MDB2/MDB2/Driver/mysql.php:1.180 --- pear/MDB2/MDB2/Driver/mysql.php:1.179 Tue Apr 17 16:33:43 2007 +++ pear/MDB2/MDB2/Driver/mysql.php Wed Apr 25 09:25:26 2007 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: mysql.php,v 1.179 2007/04/17 16:33:43 quipo Exp $ +// $Id: mysql.php,v 1.180 2007/04/25 09:25:26 quipo Exp $ // /** @@ -393,6 +393,7 @@ if (is_resource($this->connection)) { if (count(array_diff($this->connected_dsn, $this->dsn)) == 0 && $this->opened_persistent == $this->options['persistent'] + && $this->connected_database_name == $this->database_name ) { return MDB2_OK; } http://cvs.php.net/viewvc.cgi/pear/MDB2/package_mysql.php?r1=1.110&r2=1.111&diff_format=u Index: pear/MDB2/package_mysql.php diff -u pear/MDB2/package_mysql.php:1.110 pear/MDB2/package_mysql.php:1.111 --- pear/MDB2/package_mysql.php:1.110 Tue Apr 17 16:33:43 2007 +++ pear/MDB2/package_mysql.php Wed Apr 25 09:25:26 2007 @@ -13,6 +13,7 @@ module, also return the field position in the index/constraint - fixed bug #10636: transactions broken in release 2.4.0 because of some properties being reset (thanks to Conor Kerr) +- fixed bug #10807: connect() Method Incorrectly Caches Connections [fornax] note: - the multi_query test failes because this is not supported by ext/mysql

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