summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysqlbinlog.test
diff options
context:
space:
mode:
authorguilhem@mysql.com <>2004-03-18 19:29:07 +0200
committerguilhem@mysql.com <>2004-03-18 19:29:07 +0200
commit244304fdbb8f5f2bb33fcd0fa9b22e43634c6668 (patch)
tree68c70274ca7376ba1d68fa15a8d3d4a57f8b2586 /mysql-test/t/mysqlbinlog.test
parent99d374159a3a0340a67ce5e6739e748ef5db5570 (diff)
downloadmariadb-git-244304fdbb8f5f2bb33fcd0fa9b22e43634c6668.tar.gz
Fix for BUG#3204 ""mysqlbinlog --read-from-remote-server this_binlog.001" prints all binlogs":
we now detect that the server is sending us a log which we did not request by testing the info in the fake Rotate event. I also changed code to not print the fake Rotate which describes the log we asked for (it's always the first received event but old masters may not send it).
Diffstat (limited to 'mysql-test/t/mysqlbinlog.test')
-rw-r--r--mysql-test/t/mysqlbinlog.test1
1 files changed, 0 insertions, 1 deletions
diff --git a/mysql-test/t/mysqlbinlog.test b/mysql-test/t/mysqlbinlog.test
index 07adf2732dc..1b07ddc63a6 100644
--- a/mysql-test/t/mysqlbinlog.test
+++ b/mysql-test/t/mysqlbinlog.test
@@ -70,7 +70,6 @@ select "--- Remote --" as "";
--enable_query_log
# This is broken now
-# By the way it seems that remote version fetches all events with name >= master-bin.000001
--replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR
--exec $MYSQL_BINLOG --short-form --local-load=$MYSQL_TEST_DIR/var/tmp/ --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001