This function flushes the file system buffers of a log file. It has no effect if the
MCO_TRANSLOG_SYNC_INSTANTLY flag is used.
MCO_RET mco_translog_flush( mco_db_h db );
db
This function flushes the file system buffers of a log file. Note: It has no effect if the flag
MCO_TRANSLOG_SYNC_INSTANTLY is used.
MCO_S_OK
MCO_E_TL_NOT_STARTED
MCO_E_TL_LOG_NOT_OPENED
MCO_E_TL_PIPE_LOST
MCO_E_TL_PIPE_TERM
The reader returned from the function mco_translog_iterate()
before the log was finished. It terminated logging by returning a value other than
MCO_S_OK to the callback function.
MCO_E_TL_IO_ERROR