summaryrefslogtreecommitdiff
path: root/sql/sql_repl.cc
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/sql_repl.cc
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/sql_repl.cc')
-rw-r--r--sql/sql_repl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc
index 5968c17f871..16b6a7594eb 100644
--- a/sql/sql_repl.cc
+++ b/sql/sql_repl.cc
@@ -588,7 +588,7 @@ impossible position";
this larger than the corresponding packet (query) sent
from client to master.
*/
- thd->variables.max_allowed_packet+= MAX_LOG_EVENT_HEADER;
+ thd->variables.max_allowed_packet= MAX_MAX_ALLOWED_PACKET;
/*
We can set log_lock now, it does not move (it's a member of