MCO_RET mco_trans_rt_deadline_check(mco_trans_h t);
t
This function is a pre-defined callback implementation that indicates to the database kernel that the application is using the strict deadline policy. In order to enable the policy the application registers the callback via the mco_trans_rt_register_callback. The function returns
MCO_E_INTERRUPTif the transaction’s flow time has exceeded the set deadline. The database is left in the logically inconsistent state and the only valid action against the database is to roll back the interrupted transaction with mco_trans_rollback.
MCO_S_OK
MCO_E_INTERRUPTED