summaryrefslogtreecommitdiff
path: root/mysql-test/include/binlog_start_pos.inc
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2011-05-03 14:01:11 +0200
committerunknown <knielsen@knielsen-hq.org>2011-05-03 14:01:11 +0200
commit014b8e7f435e495151fe0ef2cfd5e93d1a398ce5 (patch)
treeb432f6305fe79b126a19fa03124d28a7a2f05cbe /mysql-test/include/binlog_start_pos.inc
parentd02d52629d2eda10a50079001a79d50bf3d528cd (diff)
downloadmariadb-git-014b8e7f435e495151fe0ef2cfd5e93d1a398ce5.tar.gz
Backport MySQL WL#2540 into MariaDB.
Patch backported: bzr diff '-rrevid:alfranio.correia@oracle.com-20101121143257-se3vpqus73l4mum0 ..revid:luis.soares@oracle.com-20101124111752-9b8260bd1qak87hr' --old=lp:mysql-server --new=lp:mysql-server
Diffstat (limited to 'mysql-test/include/binlog_start_pos.inc')
-rw-r--r--mysql-test/include/binlog_start_pos.inc10
1 files changed, 6 insertions, 4 deletions
diff --git a/mysql-test/include/binlog_start_pos.inc b/mysql-test/include/binlog_start_pos.inc
index f6d1c4c68a3..add5a42a426 100644
--- a/mysql-test/include/binlog_start_pos.inc
+++ b/mysql-test/include/binlog_start_pos.inc
@@ -11,16 +11,18 @@
# Format_description_log_event length =
# 19 /* event common header */ +
# 57 /* misc stuff in the Format description header */ +
-# number of events.
+# number of events +
+# 1 /* Checksum algorithm */ +
+# 4 /* CRC32 length */
#
# With current number of events = 160,
#
-# binlog_start_pos = 4 + 19 + 57 + 160 = 240.
+# binlog_start_pos = 4 + 19 + 57 + 160 + 1 + 4 = 245.
#
##############################################################################
-let $binlog_start_pos=240;
+let $binlog_start_pos=245;
--disable_query_log
-SET @binlog_start_pos=240;
+SET @binlog_start_pos=245;
--enable_query_log