checking if LOCK TABLES succeeded
Posted: Tue May 05, 2009 7:08 pm
hi,
in my php code i need to execute the LOCK TABLES mysql query, but how do i check that it succeeded?
can i rely on just doing this:
if (mysql_query("LOCK TABLES myTable READ")) {...}
??
thanks!
in my php code i need to execute the LOCK TABLES mysql query, but how do i check that it succeeded?
can i rely on just doing this:
if (mysql_query("LOCK TABLES myTable READ")) {...}
??
thanks!