Debian Codegraph @

mysql-test/suite/maria/insert_select.result

raw
1 create table t1 (pk int primary key) engine=Aria;
2 insert into t1 values (1);
3 insert into t1 select sleep(2)+1 from t1;
4 connect con1,localhost,root,,;
5 insert into t1 select 2 from t1;
6 connection default;
7 ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
8 disconnect con1;
9 drop table t1;