mariadb/mysql-test/suite/innodb/t/innodb_bug53674.test
2011-04-25 17:22:25 +02:00

8 lines
260 B
Text

-- source include/have_log_bin.inc
create table bug53674(a int)engine=innodb;
insert into bug53674 values (1),(2);
start transaction;
select * from bug53674 for update;
select * from bug53674 where a=(select a from bug53674 where a > 1);
drop table bug53674;