~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/t/rpl_insert_select.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
# Testcase for BUG#10456 - INSERT INTO ... SELECT violating a primary key
 
2
# breaks replication
 
3
 
 
4
-- source include/master-slave.inc
 
5
connection master;
 
6
 
 
7
create table t1 (n int not null primary key);
 
8
insert into t1 values (1);
 
9
create table t2 (n int);
 
10
insert into t2 values (1);
 
11
insert ignore into t1 select * from t2;
 
12
insert into t1 values (2);
 
13
sync_slave_with_master;
 
14
connection slave;
 
15
select * from t1;
 
16
 
 
17
connection master;
 
18
drop table t1,t2;
 
19
sync_slave_with_master;