13
13
create table t1(a int not null) engine=innodb;
14
14
insert into t1 values (1),(2),(3),(4),(5),(6),(7);
17
17
select * from t1 where a=3 lock in share mode;
19
19
set session transaction isolation level read committed;
21
21
update t1 set a=10 where a=5;