PK_PMARK_is_used_by_mark   

PK_ERROR_code_t     PK_PMARK_is_used_by_mark
(
--- received arguments ---
PK_PMARK_t          pmark,      --- pmark to test

--- returned arguments ---
PK_LOGICAL_t *const is_used     --- whether it is used by a mark
)


This function returns PK_LOGICAL_true if the given 'pmark' is used in a session
mark. That is, there is a session mark M such that if M were rolled to, the
given pmark would be current.


Specific Errors:
    PK_ERROR_rollback_not_started  Partitioned rollback is not active


If called from a thread with locked partitions, then 'is_used' includes whether
the 'pmark' is used by a mark from before its partition was locked.