mysql_free_result() and mysql_fech_row()
Posted by: Fabian von Romberg
Date: December 07, 2014 11:24AM


I understand that when I am finished with a result set I have to call mysql_free_result().

While I loop over the result set, I call mysql_fech_row() for every row on the result set.

Here my question is, as MySQL allocates memory for each returned row, do I have to deallocate every row? or MySQL deallocated everything when calling mysql_free_result()?

Thanks in advance and best regards,
Fabian von Romberg

Options: ReplyQuote

Written By
mysql_free_result() and mysql_fech_row()
December 07, 2014 11:24AM

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.