死锁那个,两个事务,第一个事务select from 表 where id=1 for update,第二个事务select from 表 where id=2 for update,然后两个事务再反过来执行这下两个语句就死锁了
4 8

相关推荐

快点约我面试吧
投递百度等公司10个岗位
点赞 评论 收藏
分享
程序员小白条:这比例牛逼,750:1
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务