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