游客发表

详解MySQL的锁机制

发帖时间:2025-11-05 11:17:53

详解MySQL的锁机制
详解复制| 事务A |事务B  |  |--|--|  | begin A |  |  ||begin B|  |select salary form tb where id=1(查询结果为1000)||  ||select salary form tb where id=1(查询结果为1000)|  |update tb set salary=1100 where id=1||  ||update tb set salary=1200 where id=1|  |commit A||  ||commit B|  1.2.3.4.5.6.7.8.9.10.

    相关内容

    随机阅读

    热门排行

    友情链接