MySQL Forums
Forum List  »  Connector/Node.js

Re: Comments: Jon Stephens - Using XML in MySQL 5.1 and 6.0
Posted by: Andrey Hristov
Date: December 27, 2007 10:16AM

mysql_free_result() frees the memory used by the internal buffers of libmysql. It won't free any memory occupied by strings you have fetched from the result set. These strings will be freed once you don't need them - you have unset() them or lost the last reference to them, or the script has ended. It's up to your script how it wastes memory.

Andrey Hristov, Software Developer

Options: ReplyQuote

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.