1
source include/master-slave.inc;
2
create table t1 (a int);
3
create table t2 (a int);
5
SET @query="INSERT INTO t2 SELECT * FROM t1 WHERE a REGEXP \"0\"";
9
eval SET @query=concat(@query, " OR a REGEXP '$1'");
12
let $1=`select @query`;
15
# I have seen the slave crash either now or at shutdown
16
sync_slave_with_master;
20
sync_slave_with_master;