Bug #55550 [Opn->Csd]: mysql.trace_mode miscounts result sets
| From: | johannes@php.net | Date: | Wed, 31 Aug 2011 11:11:20 +0000 |
| Subject: | Bug #55550 [Opn->Csd]: mysql.trace_mode miscounts result sets | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-163185@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55550&edit=1
ID: 55550
Updated by: johannes@php.net
Reported by: johannes@php.net
Summary: mysql.trace_mode miscounts result sets
-Status: Open
+Status: Closed
Type: Bug
Package: MySQL related
Operating System: *
PHP Version: 5.4SVN-2011-08-31 (SVN)
-Assigned To:
+Assigned To: johannes
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:
------------------------------------------------------------------------
[2011-08-31 11:10:57] johannes@php.net
Automatic comment from SVN on behalf of johannes
Revision: http://svn.php.net/viewvc/?view=revision&revision=315877
Log: - Fix Bug #55550 mysql.trace_mode miscounts result sets,
fixes ext/mysql/tests/mysql_deprecated_api.phpt
------------------------------------------------------------------------
[2011-08-31 11:04:03] johannes@php.net
Description:
------------
When usin mysql_list_dbs(), mysql_list_tables(), mysql_list_fields() or mysql_list_processes() and
mysql.trace_mode is enabled a wrong amount of remaining result sets will be reported.
Test script:
---------------
ext/mysql/tests/mysql_deprecated_api.phpt
Expected result:
----------------
done!
Actual result:
--------------
Warning: Unknown: 4294967295 result set(s)not freed. Use mysql_free_result to free result sets which
were requested using mysql_query()
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55550&edit=1