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