EastEightAreaBoy

Results issues of EastEightAreaBoy

![image](https://github.com/LFool/LFool-Notes/assets/16572649/86526ce3-b94c-4061-8a32-0cee0c7b3dfc)

【MySQL加锁实战分析】文章中的内容有个我实践下来不太理解。 ![image](https://github.com/LFool/LFool-Notes/assets/16572649/4fc243a6-dc56-4dc6-8512-3ead9c014a96) 上面是我的表信息。 age是一个普通索引。我执行sql:select * from `mvcc-test1` where age = 21 for update;后我理解就不能再插入age是20-30之间的数据了对吧?可是我在单独开一个控制台后执行插入却成功了。 # 这个是我加锁的命令。 ![image](https://github.com/LFool/LFool-Notes/assets/16572649/192e3d35-3e21-4d1e-8e1a-947f350c56b3) 这个是我插入的数据。 ![image](https://github.com/LFool/LFool-Notes/assets/16572649/2727a516-c095-4de3-b89a-4eba9fe04fcf)