summaryrefslogtreecommitdiff
path: root/client/mysqlbinlog.cc
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-02-17 13:52:16 +0100
committerunknown <serg@serg.mylan>2005-02-17 13:52:16 +0100
commitc5c497164fbc48bcc50770ced833a07788082aaf (patch)
treeb920a7ed5633935af693da76909cc6f626123729 /client/mysqlbinlog.cc
parent98db5e571fd01f063ae56aa2492f8d01a418815a (diff)
downloadmariadb-git-c5c497164fbc48bcc50770ced833a07788082aaf.tar.gz
post-review fixes. Now ROLLBACK is done in Format_description_log_event
mysql-test/t/mix_innodb_myisam_binlog.test: fix for --ps-protocol
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,