|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-05-07 13:26 UTC] jani@php.net
[2009-05-15 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 13:00:01 2025 UTC |
Description: ------------ Seeing some unexpected behavior when getting a mysql "result set not freed" warning while using zlib.output_compression + mysql.trace_mode - the warning is not displayed, and getting some intermittent reload behavior in IE6 if the page also has a large amount of content Reproduce code: --------------- <?php // php.ini or other valid ini locations: // zlib.output_compression on // mysql.trace_mode on // nothing wrong with this - just sets up the scenario mysql_connect("valid_host", "valid_username", "valid_password"); mysql_select_db("valid_db"); // large amount of content - enables intermittent IE6 reload behavior for ($x=1; $x<=250000; $x++) {echo htmlentities(chr(rand(32, 126)));} // trigger "result set not freed" warning // assume valid_table has at least two records $query=mysql_query("select valid_field from valid_table limit 2"); list($value)=mysql_fetch_row($query); ?> Expected result: ---------------- 250000 random ASCII characters followed by: Warning: Unknown: 1 result set(s) not freed. Use mysql_free_result to free result sets which were requested using mysql_query() in Unknown on line 0 Actual result: -------------- Firefox: 250000 random ASCII characters, no warning IE6: same, plus intermittent reload behavior