Mysql use mysql_store_result() instead of mysql_use_result()
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3465
Reported by Stephen R. van den Berg, Cubic Circle email@example.com
The implementation of the Mysql.so module uses the mysql_store_result() function to actually obtain the result from the database. This will always result in the full query being allocated in memory.
This is not good, of course. The intention was that the fetch_row primitives actually do something usefull. Merely using mysql_use_result() instead of mysqL_store_result() will result in overall lower memory requirements and increased speed (needless to say, since Roxen leans heavily on Mysql internally, it seems rather silly that this was never corrected before).