2
# Test for Bug #2385 CREATE TABLE LIKE lacks locking on source and destination
7
drop table if exists t1,t2;
10
connect (con1,localhost,root,,);
11
connect (con2,localhost,root,,);
15
CREATE TABLE t1 (x1 int);
20
send ALTER TABLE t1 CHANGE x1 x2 int;
22
CREATE TABLE t2 LIKE t1;
23
replace_result x1 xx x2 xx;
28
send ALTER TABLE t1 CHANGE x2 x1 int;
30
CREATE TABLE t2 LIKE t1;
31
replace_result x1 xx x2 xx;