This function begins logging transactions according to the specified options.
MCO_RET mco_translog_start(mco_db_h db,
char const * file_path,
mco_TL_start_data_h data);
db
file_path
Path and file name or disk partition of the log file. If the pipe method is used, this argument specifies the pipe overflow file if it is required (otherwise 0).
data
This function begins logging transactions according to the options specified in the argument
data.
MCO_S_OK
MCO_E_TL_NOT_INITIALIZED
MCO_E_TL_INVAL
MCO_E_TL_ALREADY_STARTED
MCO_E_TL_NOT_ITERABLE
MCO_TRANSLOG_ITERABLE flag, or an unsupported
transaction manager is used.MCO_E_TL_NO_AUTO_OID
auto_oid index is declared in the database schema.MCO_E_TL_PIPE_USED
MCO_E_TL_IO_ERROR