-
unknown authored
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
83e696e6