diff options
author | unknown <sasha@mysql.sashanet.com> | 2001-06-23 19:37:24 -0600 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2001-06-23 19:37:24 -0600 |
commit | bcc51cb0a3d9fcf4e02ac2201a0a0a5a5538f17f (patch) | |
tree | d6cc479d4e3c59cd207caf465ed545d6dd6e1cc2 /mysql-test/t/rpl_log.test | |
parent | a697e30a3aa928d6896a45af4b762737d6906022 (diff) | |
download | mariadb-git-bcc51cb0a3d9fcf4e02ac2201a0a0a5a5538f17f.tar.gz |
show master forced rotate info in SHOW BINLOG EVENTS
mark a master-forced rotate with a special flag
mysql-test/r/rpl000014.result:
updated result
mysql-test/r/rpl000015.result:
updated result
mysql-test/r/rpl000016.result:
updated result
mysql-test/r/rpl_log.result:
updated result
mysql-test/t/rpl000017-slave.sh:
fix for change in master.info format
mysql-test/t/rpl_log.test:
test for correct last_log_seq in show slave status
sql/log.cc:
mark a master-forced rotate with a special flag
sql/log_event.cc:
show master forced rotate info in SHOW BINLOG EVENTS
sql/log_event.h:
master forced rotation flag
sql/slave.cc:
keep trace of last log sequences in MASTER_INFO
do not rotate on slave, if the rotation on master was forced by its master
sql/slave.h:
keep track of last log sequence number in MASTER_INFO
Diffstat (limited to 'mysql-test/t/rpl_log.test')
-rw-r--r-- | mysql-test/t/rpl_log.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/rpl_log.test b/mysql-test/t/rpl_log.test index 34c550b8169..0cfc1f58cac 100644 --- a/mysql-test/t/rpl_log.test +++ b/mysql-test/t/rpl_log.test @@ -20,6 +20,9 @@ show binlog events from 79 limit 1; show binlog events from 79 limit 2; show binlog events from 79 limit 2,1; flush logs; +create table t1 (n int); +insert into t1 values (1); +drop table t1; show binlog events; show binlog events in 'master-bin.002'; show master logs; @@ -30,3 +33,5 @@ sync_with_master; show master logs; show binlog events in 'slave-bin.001' from 4; show binlog events in 'slave-bin.002' from 4; +--replace_result 9306 9999 3334 9999 3335 9999 +show slave status; |