From de693be7bea4bf3e067870b917e717876a3a67ab Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 22 Nov 2000 00:23:31 -0700 Subject: mysql-test/mysql-test-run cleanup - remove unneeded daeamon restarts sql/log_event.cc fixed bug - do not confuse confused slaves even further if they try to read less than LOG_EVENT_HEADER_LEN before the end of file sql/mysqlbinlog.cc give error if constructor fails sql/mysqld.cc --disconnect-slave-event-count for replication debugging sql/slave.cc --disconnect-slave-event-count cleanup to remove unneeded sleeps when things go wrong - sleep only when we have to sql/slave.h --disconnect-slave-event-count test cases for ALTER TABLE ORDER BY and replication offset off by 22 confusion mystery bug (both pass) mysql-test/mysql-test-run: cleanup - remove unneeded daeamon restarts sql/log_event.cc: fixed bug - do not confuse confused slaves even further if they try to read less than LOG_EVENT_HEADER_LEN before the end of file sql/mysqlbinlog.cc: give error if constructor fails sql/mysqld.cc: --disconnect-slave-event-count for replication debugging sql/slave.cc: --disconnect-slave-event-count cleanup to remove unneeded sleeps when things go wrong - sleep only when we have to sql/slave.h: --disconnect-slave-event-count sql/sql_repl.cc: added unknown error --- sql/mysqlbinlog.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sql/mysqlbinlog.cc') diff --git a/sql/mysqlbinlog.cc b/sql/mysqlbinlog.cc index dd1d6fe9765..21a740ca1f4 100644 --- a/sql/mysqlbinlog.cc +++ b/sql/mysqlbinlog.cc @@ -361,6 +361,8 @@ static void dump_local_log_entries(const char* logname) die("Could not read entry at offset %ld : Error in log format or \ read error", my_b_tell(file)); + else + die("Could not construct event object"); break; } if (rec_count >= offset) -- cgit v1.2.1