mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
5ce227e78a
(as long as replicate-*-table rules were defined, multi-table DELETE was never replicated by the slave).
22 lines
399 B
Text
22 lines
399 B
Text
slave stop;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
reset master;
|
|
reset slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
slave start;
|
|
create table t1 (a int);
|
|
create table t2 (a int);
|
|
insert into t1 values (1);
|
|
insert into t2 values (1);
|
|
delete t1.* from t1, t2 where t1.a = t2.a;
|
|
select * from t1;
|
|
a
|
|
select * from t2;
|
|
a
|
|
1
|
|
select * from t1;
|
|
a
|
|
select * from t2;
|
|
a
|
|
1
|
|
drop table t1,t2;
|