1
0
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:
serg@serg.mylan
2005-02-17 13:52:16 +01:00
parent e4116bc21d
commit 2b41b8fa01
15 changed files with 176 additions and 184 deletions

View File

@ -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,