~linuxjedi/drizzle/trunk-bug-667053

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/t/rpl_free_items.test

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

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