summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-06-23 19:37:24 -0600
committerunknown <sasha@mysql.sashanet.com>2001-06-23 19:37:24 -0600
commitbcc51cb0a3d9fcf4e02ac2201a0a0a5a5538f17f (patch)
treed6cc479d4e3c59cd207caf465ed545d6dd6e1cc2 /sql/log_event.h
parenta697e30a3aa928d6896a45af4b762737d6906022 (diff)
downloadmariadb-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 'sql/log_event.h')
-rw-r--r--sql/log_event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 6a597142a2c..aa65a0d7d55 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -107,6 +107,7 @@
#define BINLOG_MAGIC "\xfe\x62\x69\x6e"
#define LOG_EVENT_TIME_F 0x1
+#define LOG_EVENT_FORCED_ROTATE_F 0x2
enum Log_event_type { START_EVENT = 1, QUERY_EVENT =2,
STOP_EVENT=3, ROTATE_EVENT = 4, INTVAR_EVENT=5,