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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user