[Solved] Block Mysql query until is updated [closed]
There are two cases I can see causing you to raise this question: Large batch INSERT statements, ie: INSERT INTO mytable (id, name, date) VALUES (1, ‘Tom’, ‘2013-01-31’), (2, ‘Dick’, ‘2013-02-28’), (3, ‘Harry’, ‘2013-03-31’), … In this case MySQL does the locking internally, so you do not have to do anything. Any query that requires … Read more