summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authorManish Kumar <manish.4.kumar@oracle.com>2012-06-12 12:59:56 +0530
committerManish Kumar <manish.4.kumar@oracle.com>2012-06-12 12:59:56 +0530
commitdb982ec87f53baf5b06b616a39a1f6cfb5f9262d (patch)
treefe0f34a805e8f9f073f4eb3580604225e752e95a /sql/log_event.h
parentd74c3df6ce335a5febbc49530b5e43625b68352d (diff)
parenta9ca9403a7264528ac4bd4e123532083bfaf7c0e (diff)
downloadmariadb-git-db982ec87f53baf5b06b616a39a1f6cfb5f9262d.tar.gz
BUG#12400221 - 60926: BINARY LOG EVENTS LARGER THAN MAX_ALLOWED_PACKET
Upmerge from mysql-5.1 -> mysql-5.5
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 5ad90bda00f..548541a8767 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -280,6 +280,13 @@ struct sql_ex_info
MAX_SIZE_LOG_EVENT_STATUS + /* status */ \
NAME_LEN + 1)
+/*
+ The new option is added to handle large packets that are sent from the master
+ to the slave. It is used to increase the thd(max_allowed) for both the
+ DUMP thread on the master and the SQL/IO thread on the slave.
+*/
+#define MAX_MAX_ALLOWED_PACKET 1024*1024*1024
+
/*
Event header offsets;
these point to places inside the fixed header.