This function flushes the file system buffers of a log file. It has no purpose if the MCO_TRANSLOG_SYNC_INSTANTLY flag is used.
MCO_RET mco_translog_flush( mco_db_h db )
| db | Database connection handle |
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 | File system buffers flushed successfully. |
|
MCO_E_TL_NOT_STARTED |
Transaction logging was not started. |
|
MCO_E_TL_LOG_NOT_OPENED |
The log file could not be opened. |
|
MCO_E_TL_PIPE_LOST |
All connections to a pipe were closed and its data was lost. |
|
MCO_E_TL_PIPE_TERM |
Reader returned from the function |
|
MCO_E_TL_IO_ERROR |
Disk IO error. |