At 13:36 -0400 6/19/03, Adam Lawrence wrote:
Stats: MySQL 4.0.13, under Windows98, using the C API with lcc-win32.

Is there any way to determine if mysql_free_result() has been called on a
result set pointer?

There's no API function for that, no.



Occasionally I recycle the pointer (use it, free it, use it again, free it again, etc.) and if my code calls mysql_free_result() on a result set pointer that was already freed, an exception is raised and my code gracefully crashes out.

----------------------
    Adam Lawrence
Sustaining Engineering
     Tectrol Inc.
----------------------


--
Paul DuBois, Senior Technical Writer
Madison, Wisconsin, USA
MySQL AB, www.mysql.com

Are you MySQL certified? http://www.mysql.com/certification/


-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to