阅读背景:

[MySQL] 行级锁SELECT ... LOCK IN SHARE MODE 和 SELECT ... FOR UPDATE

来源:互联网 

一、译文

翻译来自官方文档:Locking Reads

If you query data and then insert or update related data within the same transaction, the regular SELECT statement does not give enough protection. Other transactions can update or delete the same rows you just queried. InnoDB supports two types of locking reads that offer extra safety:If you qu




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: