mysql innodb行锁

来源:互联网 发布:单页面应用网站源码 编辑:程序博客网 时间:2024/04/30 09:59
begin
select * from shop where id =1 for update;
update shop set username = '123' where id = 1
ROLLBACK
0 0
原创粉丝点击