summaryrefslogtreecommitdiff
path: root/client/mysqlbinlog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/mysqlbinlog.cc')
-rw-r--r--client/mysqlbinlog.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc
index cedf837c9ab..7c682f402eb 100644
--- a/client/mysqlbinlog.cc
+++ b/client/mysqlbinlog.cc
@@ -1171,11 +1171,10 @@ static int dump_local_log_entries(const char* logname)
{
/*
if binlog wasn't closed properly ("in use" flag is set) don't complain
- about a corruption, but issue a "ROLLBACK" to annihilate half-logged
- transaction. Otherwise, treat it as EOF and move to the next binlog.
+ about a corruption, but treat it as EOF and move to the next binlog.
*/
if (description_event->flags & LOG_EVENT_BINLOG_IN_USE_F)
- fprintf(result_file, "ROLLBACK;\n");
+ file->error= 0;
else if (file->error)
{
fprintf(stderr,