How can I lock table in mysql using C API?
Posted by: Francesco Alfano
Date: November 30, 2015 07:10AM

How can I lock read/write to MySQL tables or rows using C API so that I can select and then insert without other programs reading/writing to the database?

Is it possible to use something like:

mysql_query(conn, "LOCK TABLE myTable");

Options: ReplyQuote


Subject
Views
Written By
Posted
How can I lock table in mysql using C API?
2189
November 30, 2015 07:10AM


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.