Commit 07d6a199 authored by unknown's avatar unknown

In Start_log_event::print, don't print "created 1970 etc" if created == 0.

Otherwise, we'll get questions from users about this curious 1970.

parent 98f57fbe
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment