~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-201203300109

« 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): Clint Byrum
  • Date: 2011-11-08 11:31:13 UTC
  • Revision ID: package-import@ubuntu.com-20111108113113-3ulw01fvi4vn8m25
Tags: upstream-5.5.17
ImportĀ upstreamĀ versionĀ 5.5.17

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