diff options
author | unknown <guilhem@mysql.com> | 2004-03-18 19:29:07 +0200 |
---|---|---|
committer | unknown <guilhem@mysql.com> | 2004-03-18 19:29:07 +0200 |
commit | 83e696e61cf55da401d985cc6e14b759f7391820 (patch) | |
tree | 68c70274ca7376ba1d68fa15a8d3d4a57f8b2586 /myisam/mi_search.c | |
parent | 8bdbfee96b876e48387cdc14d6b44a18d82a1043 (diff) | |
download | mariadb-git-83e696e61cf55da401d985cc6e14b759f7391820.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).
client/mysqlbinlog.cc:
Detect when the master is sending us a binlog which we have not requested,
then stop.
Skip the fake Rotate event if there is one (there may be none if
the server to which we connect is < 4.0.14).
mysql-test/r/mysqlbinlog.result:
result update: master-bin.000002 is not printed anymore (as mysqlbinlog
stops at the end of the requested log, master-bin.000001).
mysql-test/t/mysqlbinlog.test:
comment is wrong now
Diffstat (limited to 'myisam/mi_search.c')
0 files changed, 0 insertions, 0 deletions