mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
post-review fixes. Now ROLLBACK is done in Format_description_log_event
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user