summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl_skip_error.test
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2001-12-12 18:55:33 -0700
committersasha@mysql.sashanet.com <>2001-12-12 18:55:33 -0700
commitf7acf09d9c70afeaf36172e993b5c468f8190182 (patch)
tree7eaf5681e41349d3135b099f195338bc5e4b85c9 /mysql-test/t/rpl_skip_error.test
parentab550295e90dcc24db87ba6f1580c46f8ab2d648 (diff)
downloadmariadb-git-f7acf09d9c70afeaf36172e993b5c468f8190182.tar.gz
slave-skip-errors
added extra/mysql_install.c - will work on it in 4.0, but it does not hurt to have it sit in 3.23 tree for now since it will eventually be backported to 3.23 anyway
Diffstat (limited to 'mysql-test/t/rpl_skip_error.test')
-rw-r--r--mysql-test/t/rpl_skip_error.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/t/rpl_skip_error.test b/mysql-test/t/rpl_skip_error.test
new file mode 100644
index 00000000000..3303b45c1ca
--- /dev/null
+++ b/mysql-test/t/rpl_skip_error.test
@@ -0,0 +1,15 @@
+source include/master-slave.inc;
+connection master;
+drop table if exists t1;
+create table t1 (n int not null primary key);
+save_master_pos;
+connection slave;
+sync_with_master;
+insert into t1 values (1);
+connection master;
+insert into t1 values (1);
+insert into t1 values (2),(3);
+save_master_pos;
+connection slave;
+sync_with_master;
+select * from t1;