2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
7
create table t1 (a int primary key);
8
create table t4 (a int primary key);
9
insert into t1 values (1),(1);
10
Got one of the listed errors
11
insert into t4 values (1),(2);
12
show tables like 't1';
14
show tables like 't4';
17
SELECT * FROM test.t4 ORDER BY a;
22
select get_lock('crash_lock%20C', 10);
23
get_lock('crash_lock%20C', 10)
25
create table t2 (a int primary key);
26
insert into t2 values(1);
27
create table t3 (id int);
28
insert into t3 values(connection_id());
29
update t2 set a = a + 1 + get_lock('crash_lock%20C', 10);
30
select (@id := id) - id from t3;
35
insert into t4 values (3),(4);
36
SELECT * FROM test.t4 ORDER BY a;