ID: 39824 Updated by: [EMAIL PROTECTED] Reported By: marcos dot neves at gmail dot com -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: WINXP PHP Version: 5.2.0 New Comment:
Set mysql.trace_mode to Off in your php.ini. Previous Comments: ------------------------------------------------------------------------ [2006-12-13 23:20:33] marcos dot neves at gmail dot com Description: ------------ Starting with mysql 5.2.0, mysql_free_result is required be called before end of script Reproduce code: --------------- <? mysql_connect("localhost", "root", ""); $result = mysql_query("SELECT 1 + 2"); ?> Expected result: ---------------- no warnings, the results should be disposed at end of script, as documentantion saids and as like was before. Actual result: -------------- 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39824&edit=1