This function terminates transaction logging and closes the log file.
MCO_RET mco_translog_stop(mco_db_h db);
db
This function terminates transaction logging and closes the log file.
MCO_S_OK
MCO_E_TL_NOT_STARTED
MCO_E_TL_LOG_NOT_OPENED
MCO_E_TL_IO_ERROR
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.
Note: The logging process will always be stopped after calling the function
mco_translog_stop()—even if an error occurs.