diff --git a/sql/log_event.cc b/sql/log_event.cc index 1c9c48e2d93..62d6bef3a51 100644 --- a/sql/log_event.cc +++ b/sql/log_event.cc @@ -302,9 +302,13 @@ void Start_log_event::print(FILE* file, bool short_form, char* last_db) return; print_header(file); - fprintf(file, "\tStart: binlog v %d, server v %s created ", binlog_version, + fprintf(file, "\tStart: binlog v %d, server v %s", binlog_version, server_version); - print_timestamp(file, &created); + if (created) + { + fprintf(file, " created "); + print_timestamp(file, &created); + } fputc('\n', file); fflush(file); }