Debian Codegraph @

mysql-test/suite/engines/funcs/t/rpl_skip_error.test

raw
1 ##########################################
2 # 2006-02-07 By JBM: Added order by
3 #########################################
4 # Note that errors are ignored by opt file.
5 --source include/master-slave.inc
6
7 create table t1 (n int not null primary key);
8 --sync_slave_with_master
9 insert into t1 values (1);
10 connection master;
11 # Here we expect (ignored) error, since 1 is already in slave table
12 insert into t1 values (1);
13
14 # These should work fine
15 insert into t1 values (2),(3);
16
17 --sync_slave_with_master
18 select * from t1 ORDER BY n;
19
20 # Cleanup
21 connection master;
22 drop table t1;
23 --sync_slave_with_master
24
25 # End of 4.1 tests
26 --source include/rpl_end.inc