diff options
author | unknown <sasha@mysql.sashanet.com> | 2001-06-28 19:48:49 -0600 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2001-06-28 19:48:49 -0600 |
commit | 1ed2bcc8889f6b968c473044caaeefd603bb377b (patch) | |
tree | b4b1a65d3190201dcc5c9ad8a4a05f36ddcd759c /mysql-test | |
parent | 09b6895facbfafb492d543e1ee801fd3075290c0 (diff) | |
parent | 62febccfec7e98d0c0a2f06c1662f787bd221dfc (diff) | |
download | mariadb-git-1ed2bcc8889f6b968c473044caaeefd603bb377b.tar.gz |
merged with 3.23 replication updates
mysql-test/r/type_float.result:
Auto merged
sql/sql_repl.h:
Auto merged
BitKeeper/triggers/post-commit:
merged with 3.23 updates
sql/mysqld.cc:
merged
sql/slave.cc:
merged
sql/sql_repl.cc:
merged
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/rpl_sporadic_master.result | 7 | ||||
-rw-r--r-- | mysql-test/t/rpl_sporadic_master-master.opt | 1 | ||||
-rw-r--r-- | mysql-test/t/rpl_sporadic_master.test | 24 |
3 files changed, 32 insertions, 0 deletions
diff --git a/mysql-test/r/rpl_sporadic_master.result b/mysql-test/r/rpl_sporadic_master.result new file mode 100644 index 00000000000..414468f0998 --- /dev/null +++ b/mysql-test/r/rpl_sporadic_master.result @@ -0,0 +1,7 @@ +n +1 +2 +3 +4 +5 +6 diff --git a/mysql-test/t/rpl_sporadic_master-master.opt b/mysql-test/t/rpl_sporadic_master-master.opt new file mode 100644 index 00000000000..6d5b66bed61 --- /dev/null +++ b/mysql-test/t/rpl_sporadic_master-master.opt @@ -0,0 +1 @@ +--sporadic-binlog-dump-fail --max-binlog-dump-events=2 diff --git a/mysql-test/t/rpl_sporadic_master.test b/mysql-test/t/rpl_sporadic_master.test new file mode 100644 index 00000000000..ce6568f659e --- /dev/null +++ b/mysql-test/t/rpl_sporadic_master.test @@ -0,0 +1,24 @@ +#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); +insert into t1 values (NULL),(NULL); +flush logs; +delete from t1; +insert into t1 values (NULL),(NULL); +insert into t1 values (NULL),(NULL); +insert into t1 values (NULL),(NULL); +save_master_pos; +connection slave; +sync_with_master; +select * from t1; +connection master; +drop table t1; +save_master_pos; +connection slave; +sync_with_master; |