summaryrefslogtreecommitdiff
path: root/mysql-test/std_data
diff options
context:
space:
mode:
authorAndrei Elkin <aelkin@mysql.com>2010-01-25 17:46:48 +0200
committerAndrei Elkin <aelkin@mysql.com>2010-01-25 17:46:48 +0200
commit1c0056b3ba34354c63026c541718529df735fbed (patch)
treefcea4c5374abb9164d112aa9bdc9e46da35220b2 /mysql-test/std_data
parent48c67b2ca0242d7f0c64de0f018b696b9798664c (diff)
downloadmariadb-git-1c0056b3ba34354c63026c541718529df735fbed.tar.gz
Bug #47142 "slave start until" stops 1 event too late in 4.1 to 5.0 replication
When replicating from 4.1 master to 5.0 slave START SLAVE UNTIL can stop too late. The necessary in calculating of the beginning of an event the event's length did not correspond to the master's genuine information at the event's execution time. That piece of info was changed at the event's relay-logging due to binlog_version<4 event conversion by IO thread. Fixed with storing the master genuine Query_log_event size into a new status variable at relay-logging of the event. The stored info is extacted at the event execution and participate further to caclulate the correct start position of the event in the until-pos stopping routine. The new status variable's algorithm will be only active when the event comes from the master of version < 5.0 (binlog_version < 4).
Diffstat (limited to 'mysql-test/std_data')
-rw-r--r--mysql-test/std_data/bug47142_master-bin.000001bin0 -> 386 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/mysql-test/std_data/bug47142_master-bin.000001 b/mysql-test/std_data/bug47142_master-bin.000001
new file mode 100644
index 00000000000..d1a089a784a
--- /dev/null
+++ b/mysql-test/std_data/bug47142_master-bin.000001
Binary files differ