fixing compilation warning and adding flush logs to test of bug#37313

This commit is contained in:
Andrei Elkin 2009-02-24 16:17:34 +02:00
commit d091deaf89
3 changed files with 3 additions and 1 deletions

View file

@ -976,7 +976,7 @@ void Log_event::print_header(FILE* file, PRINT_EVENT_INFO* print_event_info)
fputc('#', file);
print_timestamp(file);
fprintf(file, " server id %lu end_log_pos %s ", server_id,
fprintf(file, " server id %lu end_log_pos %s ", (ulong) server_id,
llstr(log_pos,llbuff));
/* mysqlbinlog --hexdump */