GIF89a; Mini Shell

Mini Shell

Direktori : /proc/self/root/proc/self/root/usr/share/mysql-test/suite/rpl/t/
Upload File :
Current File : //proc/self/root/proc/self/root/usr/share/mysql-test/suite/rpl/t/rpl_free_items.test

source include/master-slave.inc;
create table t1 (a int);
create table t2 (a int);
disable_query_log;
SET @query="INSERT INTO t2 SELECT * FROM t1 WHERE a REGEXP \"0\"";
let $1 = 2000;
while ($1)
{
  eval SET @query=concat(@query, " OR  a REGEXP '$1'");
  dec $1;
}
let $1=`select @query`;
eval $1;
enable_query_log;
# I have seen the slave crash either now or at shutdown
--source include/sync_slave_sql_with_master.inc
connection master;
drop table t1;
drop table t2;
--source include/sync_slave_sql_with_master.inc

# End of 4.1 tests
--source include/rpl_end.inc

./BlackJoker Mini Shell 1.0