Added skygw_log_sync_all

Added skygw_log_sync_all
This commit is contained in:
MassimilianoPinto
2015-09-10 15:01:01 +02:00
parent db93d868f8
commit b4637edd59

View File

@ -208,6 +208,8 @@ int main(int argc, char **argv) {
close(inst->binlog_fd);
skygw_log_sync_all();
LOGIF(LM, (skygw_log_write_flush(LOGFILE_MESSAGE,
"Check retcode: %i, Binlog Pos = %llu", ret, inst->binlog_position)));