Re: cvs: php-src(PHP_5_2) /ext/mysqli mysqli_nonapi.c

From: Date: Sat, 14 Apr 2007 20:23:57 +0000
Subject: Re: cvs: php-src(PHP_5_2) /ext/mysqli mysqli_nonapi.c
References: 1 2 3 4  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-43888@lists.php.net to get a copy of this message
On 04/15/2007 12:11 AM, Andrey Hristov wrote:
http://php.net/mysqli_ping mysqli_ping, mysqli->ping() — Pings a server connection, or *tries to reconnect if the connection has gone down*
Then the fix is wrong, it should set reconnect only for the mysql_ping call, if reconnect is off.
Could you please be more verbose? What's wrong setting it always? The docs say it's off by default.
As far as I understand, there is no way to fix it in versions between 5.0.3 and 5.0.13 because of MySQLI API breakage.
It's just about setting mysql->reconnect in this cases. This versions won't change anyway, they are released.
Right. We need to set it somehow, but MYSQL_OPT_RECONNECT is missing in these versions. If you know how to do it - let me know. -- Wbr, Antony Dovgal

« previous php.cvs (#43888) next »