Bug #61003 [Asn->Csd]: mysql_stat() require a valid connection
Edit report at https://bugs.php.net/bug.php?id=61003&edit=1
ID: 61003
Updated by: johannes@php.net
Reported by: rein at basefarm dot no
Summary: mysql_stat() require a valid connection
-Status: Assigned
+Status: Closed
Type: Bug
Package: MySQLi related
Operating System: Linux and Solaris
PHP Version: 5.3.10
Assigned To: mysql
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2012-03-06 00:15:32] johannes@php.net
Automatic comment from SVN on behalf of johannes
Revision: http://svn.php.net/viewvc/?view=revision&revision=323931
Log: Fix bug #61003 mysql_stat() require a valid connection
------------------------------------------------------------------------
[2012-02-07 14:57:20] rein at basefarm dot no
Description:
------------
Calling mysql_stat() from the mysql library requires a valid connection. When php 5.3.10 is built
with the mysql 5.1.58 client library a seg.fault is seen in ext/mysqli/tests/bug34810.phpt when it
calls var_dump like:
$link = mysqli_init();
@var_dump($link);
The attached patch fixes this.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61003&edit=1
Thread (3 messages)