摘要: Mysql InnoDB 排他锁 用法: select … for update; 例如:select * from goods where id = 1 for update; 排他锁的申请前提:没有线程对该结果集中的任何行数据使用排他锁或共享锁,否则申请会阻塞。 for update仅适用于In 阅读全文
posted @ 2018-04-08 12:54 HappyDeveloper 阅读(547) 评论(0) 推荐(0) 编辑