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;
24
--replace_regex /ENGINE=[a-zA-Z]+/ENGINE=DEFAULT/
29
send ALTER TABLE t1 CHANGE x2 x1 int;
31
CREATE TABLE t2 LIKE t1;
32
replace_result x1 xx x2 xx;
33
--replace_regex /ENGINE=[a-zA-Z]+/ENGINE=DEFAULT/