|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-06-03 11:38 UTC] mike at cma dot ee
[2004-06-03 12:48 UTC] derick@php.net
[2022-10-29 02:32 UTC] Elise at porsche dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 00:00:02 2025 UTC |
Description: ------------ If mysql.trace_mode is set to 1 the code produces a warning: Warning: (null)() [function.mysql-free-result]: 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. Reproduce code: --------------- <? mysql_connect('anyhost', 'anyusr', 'anypass'); mysql_select_db('anydb'); $qResult = mysql_query("SELECT UID FROM Users LIMIT 1"); $aRow = mysql_fetch_assoc($qResult); ?> Expected result: ---------------- No warning should be displayed