What exactly does MySQL's SELECT...FOR UPDATE do?
某草草
某草草 2017-05-19 10:06:51
0
1
576

http://www.cnblogs.com/houwei... After reading this article, I still don’t understand what this statement does. It is during the execution of the specified query statement. This query statement involves Are all rows locked when you arrive? Then other operations (such as UPDATE) must wait for this query statement to end before they can continue to execute, right?

And what does the statement SELECT ... LOCK IN SHARE MODE mean? Why do some articles say that it should be avoided as much as possible under InnoDB?

某草草
某草草

reply all(1)
仅有的幸福

Article

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template