且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

MySQL InnoDB仅锁定受影响的行?

更新时间:2022-05-02 22:46:50

在这里假设InnoDB,您可以使用

Assuming InnoDB here, you can use SELECT ... LOCK IN SHARE MODE to lock the rows when you select them.