| 1 |
create table bug53674(a int)engine=innodb; |
| 2 |
insert into bug53674 values (1),(2); |
| 3 |
start transaction; |
| 4 |
select * from bug53674 for update; |
| 5 |
a |
| 6 |
1 |
| 7 |
2 |
| 8 |
select * from bug53674 where a=(select a from bug53674 where a > 1); |
| 9 |
a |
| 10 |
2 |
| 11 |
drop table bug53674; |