~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This tests the offset off by 22 mystery bug
 
2
# Must run slave with --disconnect-slave-event-count=1 --master-connect-retry=1
 
3
 
 
4
source include/master-slave.inc;
 
5
 
 
6
create table t1 (n int not null auto_increment primary key);
 
7
insert into t1 values(NULL);
 
8
insert into t1 values(2);
 
9
save_master_pos;
 
10
connection slave;
 
11
sync_with_master;
 
12
select n from t1;
 
13
connection master;
 
14
drop table t1;
 
15
save_master_pos;
 
16
connection slave;
 
17
sync_with_master;
 
18
 
 
19
# End of 4.1 tests