~michaeleguo/ubuntu/trusty/percona-xtradb-cluster-5.5/arm64fix

« back to all changes in this revision

Viewing changes to mysql-test/suite/engines/funcs/t/rpl_free_items.test

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-10 14:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20140210144423-f2134l2gxuvq2m6l
Tags: upstream-5.5.34-25.9+dfsg
ImportĀ upstreamĀ versionĀ 5.5.34-25.9+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
source include/master-slave.inc;
 
2
create table t1 (a int);
 
3
create table t2 (a int);
 
4
disable_query_log;
 
5
SET @query="INSERT INTO t2 SELECT * FROM t1 WHERE a REGEXP \"0\"";
 
6
let $1 = 2000;
 
7
while ($1)
 
8
{
 
9
  eval SET @query=concat(@query, " OR  a REGEXP '$1'");
 
10
  dec $1;
 
11
}
 
12
let $1=`select @query`;
 
13
eval $1;
 
14
enable_query_log;
 
15
# I have seen the slave crash either now or at shutdown
 
16
sync_slave_with_master;
 
17
connection master;
 
18
drop table t1;
 
19
drop table t2;
 
20
sync_slave_with_master;
 
21
 
 
22
# End of 4.1 tests