Environment: MYSQL 5.0, PHP 5, Windows 2003,drupal 4.7.3
Steps: 1.Switch mysql.trace to On in php.ini
2. login Drupal with any user
3. Find error:Unknown: 1 result set(s) not freed. Use mysql_free_result to free result sets which were requested using mysql_query()

Restore Mysql to 4.1 , drupal to 4.7, the same issue occured.
Might cause memory leaking.

Comments

chx’s picture

Status: Active » Closed (won't fix)

when PHP script ends, results are freed. mysql.trace_mode = Off in php.ini helps you.