php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55550 mysql.trace_mode miscounts result sets
Submitted: 2011-08-31 11:04 UTC Modified: 2011-08-31 11:11 UTC
From: johannes@php.net Assigned: johannes (profile)
Status: Closed Package: MySQL related
PHP Version: 5.4SVN-2011-08-31 (SVN) OS: *
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: johannes@php.net
New email:
PHP Version: OS:

 

 [2011-08-31 11:04 UTC] 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()

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-31 11:10 UTC] 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:11 UTC] johannes@php.net
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.


 [2011-08-31 11:11 UTC] johannes@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: johannes
 [2012-04-18 09:49 UTC] laruence@php.net
Automatic comment on behalf of johannes
Revision: http://git.php.net/?p=php-src.git;a=commit;h=8cf651ad99ff5431e28e7c0c88c339416eea267e
Log: - Fix Bug #55550 mysql.trace_mode miscounts result sets,   fixes ext/mysql/tests/mysql_deprecated_api.phpt
 [2012-07-24 23:40 UTC] rasmus@php.net
Automatic comment on behalf of johannes
Revision: http://git.php.net/?p=php-src.git;a=commit;h=8cf651ad99ff5431e28e7c0c88c339416eea267e
Log: - Fix Bug #55550 mysql.trace_mode miscounts result sets,   fixes ext/mysql/tests/mysql_deprecated_api.phpt
 [2013-11-17 09:36 UTC] laruence@php.net
Automatic comment on behalf of johannes
Revision: http://git.php.net/?p=php-src.git;a=commit;h=8cf651ad99ff5431e28e7c0c88c339416eea267e
Log: - Fix Bug #55550 mysql.trace_mode miscounts result sets,   fixes ext/mysql/tests/mysql_deprecated_api.phpt
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 17:01:29 2024 UTC