summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2001-02-19 23:08:24 -0700
committersasha@mysql.sashanet.com <>2001-02-19 23:08:24 -0700
commitb7170cf9cce8f7c1c8758ea00872eff7dae83452 (patch)
treed846ff87969a7db74d7c410f2673aebb2d4af102 /sql/log_event.h
parent28d23e87a3e490159de89f7e0e773385e6dbd4be (diff)
downloadmariadb-git-b7170cf9cce8f7c1c8758ea00872eff7dae83452.tar.gz
replication fixes
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 8a22048bba4..79186e329da 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -31,6 +31,7 @@
#define LOG_READ_IO -3
#define LOG_READ_MEM -5
#define LOG_READ_TRUNC -6
+#define LOG_READ_TOO_LARGE -7
#define LOG_EVENT_OFFSET 4
#define BINLOG_VERSION 1
@@ -42,7 +43,6 @@
+ sizeof(uint32) + 2 + sizeof(uint32))
#define EVENT_LEN_OFFSET 9
#define EVENT_TYPE_OFFSET 4
-#define MAX_EVENT_LEN 4*1024*1024
#define QUERY_EVENT_OVERHEAD (LOG_EVENT_HEADER_LEN+QUERY_HEADER_LEN)
#define ROTATE_EVENT_OVERHEAD LOG_EVENT_HEADER_LEN
#define LOAD_EVENT_OVERHEAD (LOG_EVENT_HEADER_LEN+LOAD_HEADER_LEN+sizeof(sql_ex_info))