1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

bug#8151 - truncate leaves a transaction open

deadlock in MYSQL_LOG::new_file()
style fixes
This commit is contained in:
serg@serg.mylan
2005-03-02 10:38:25 +01:00
parent 8f5ca7483a
commit 02d88c398f
13 changed files with 66 additions and 61 deletions

View File

@@ -1684,6 +1684,9 @@ void Start_log_event_v3::print(FILE* file, bool short_form, LAST_EVENT_INFO* las
if (created)
fprintf(file," at startup");
fputc('\n', file);
if (flags & LOG_EVENT_BINLOG_IN_USE_F)
fprintf(file, "# Warning: this binlog was not closed properly. "
"Most probably mysqld crashed writing it.\n");
}
if (!artificial_event && created)
{