Retrieve the “counter” number which uniquely identifies a transaction.
MCO_RET mco_trans_no( /*IN*/ mco_trans_h t, /*OUT*/ mco_trans_counter_t * no );
t
mco_trans_h transaction handle returned by
mco_trans_start().no
This function is used by
mco_translog_iterate()callback functions (part of the eXtremeDBTransaction Logging API) when iterating through the Transaction Log file to retrieve the “counter” number which uniquely identifies a transaction. This can be useful when the transaction log was created by multi-threaded applications which can update the same database object from different threads.
MCO_S_OK
MCO_E_INVALID_HANDLE
Please refer to the SDK sample "samples/native/tl/tlogiterpipe".