Added skygw_log_sync_all
Added skygw_log_sync_all
This commit is contained in:
@ -208,6 +208,8 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
close(inst->binlog_fd);
|
close(inst->binlog_fd);
|
||||||
|
|
||||||
|
skygw_log_sync_all();
|
||||||
|
|
||||||
LOGIF(LM, (skygw_log_write_flush(LOGFILE_MESSAGE,
|
LOGIF(LM, (skygw_log_write_flush(LOGFILE_MESSAGE,
|
||||||
"Check retcode: %i, Binlog Pos = %llu", ret, inst->binlog_position)));
|
"Check retcode: %i, Binlog Pos = %llu", ret, inst->binlog_position)));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user