diff options
author | guilhem@mysql.com <> | 2004-07-17 16:58:16 +0200 |
---|---|---|
committer | guilhem@mysql.com <> | 2004-07-17 16:58:16 +0200 |
commit | 88e00cd919cf36cc867a48aaadf8b71311c6498e (patch) | |
tree | 6860c440a1ea832c63bb4d8eb952e4e04d19a791 /client | |
parent | 2d5fbe0aecd567d9458408caf7502648b4622707 (diff) | |
download | mariadb-git-88e00cd919cf36cc867a48aaadf8b71311c6498e.tar.gz |
Fixes for
BUG#4506 "mysqlbinlog --position --read-from-remote-server has wrong "# at" lines",
BUG#4553 "Multi-table DROP TABLE replicates improperly for nonexistent table" with a test file.
It was not possible to add a test for BUG#4506 as in the test suite we must use --short-form
which does not display the "# at" lines.
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqlbinlog.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index 7bceedea4fe..7c3d22c4900 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -723,8 +723,8 @@ static int dump_remote_log_entries(const char* logname) */ if (old_off) old_off+= len-1; - else - old_off= BIN_LOG_HEADER_SIZE; + else // first event, so it's a fake Rotate event + old_off= position; } return 0; } |