摘要:
InnoDB 悲观锁: 抢购场景下的减库存问题 首先需要设置 mysql 为非autocommit set autocommit = 0; 具体事务如下 InnoDB支持通过特定的语句进行显示加锁: select...lock in share mode select...for udpate 但是 阅读全文
posted @ 2017-07-06 16:26
海角不转弯
阅读(144)
评论(0)
推荐(0)