Hi, I have been searching for this for a while without finding a good answer.
In the following example, MUST I call mysql_free_result() in case mysql_store_result(sql)==NULL or not? Is the following valid in case of NULL? query="update/insert ..." if (mysql_query(sql,query)!=0) return(-1); if(mysql_store_result(sql)==NULL) return(0); else { ... } mysql_free_result(result); Thnx, Lefteris -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]