diff options
author | unknown <monty@tik.mysql.fi> | 2001-07-16 13:27:29 +0300 |
---|---|---|
committer | unknown <monty@tik.mysql.fi> | 2001-07-16 13:27:29 +0300 |
commit | e2b803e3b6f54200a4f1bff16d2ca1bb59a3c95e (patch) | |
tree | 962e2da7dac59e1790d3f0428ce7de1f8ca9a812 | |
parent | fb1b1ba26b69b1c2767bb5a3b676a8edff529e56 (diff) | |
download | mariadb-git-e2b803e3b6f54200a4f1bff16d2ca1bb59a3c95e.tar.gz |
Made replication test portable accross table handlers
mysql-test/r/rpl_sporadic_master.result:
Made test portable accross table handlers
mysql-test/t/rpl_sporadic_master.test:
Made test portable accross table handlers
-rw-r--r-- | mysql-test/r/rpl_sporadic_master.result | 12 | ||||
-rw-r--r-- | mysql-test/t/rpl_sporadic_master.test | 8 |
2 files changed, 11 insertions, 9 deletions
diff --git a/mysql-test/r/rpl_sporadic_master.result b/mysql-test/r/rpl_sporadic_master.result index 414468f0998..ed616c26b67 100644 --- a/mysql-test/r/rpl_sporadic_master.result +++ b/mysql-test/r/rpl_sporadic_master.result @@ -1,7 +1,7 @@ n -1 -2 -3 -4 -5 -6 +10 +11 +12 +13 +14 +15 diff --git a/mysql-test/t/rpl_sporadic_master.test b/mysql-test/t/rpl_sporadic_master.test index ce6568f659e..a3217f9dd55 100644 --- a/mysql-test/t/rpl_sporadic_master.test +++ b/mysql-test/t/rpl_sporadic_master.test @@ -1,16 +1,18 @@ -#test to see if replication can continue when master sporadically fails on +# test to see if replication can continue when master sporadically fails on # COM_BINLOG_DUMP and additionally limits the number of events per dump + source include/master-slave.inc; connection master; drop table if exists t1; create table t1(n int not null auto_increment primary key); insert into t1 values (NULL),(NULL); delete from t1; -insert into t1 values (NULL),(NULL); +# We have to use 4 in the following to make this test work with all table types +insert into t1 values (4),(NULL); insert into t1 values (NULL),(NULL); flush logs; delete from t1; -insert into t1 values (NULL),(NULL); +insert into t1 values (10),(NULL); insert into t1 values (NULL),(NULL); insert into t1 values (NULL),(NULL); save_master_pos; |