mco_rollback_buf_info

Prototype

    typedef struct mco_rollback_buf_info_t_ {
                mco_uint4 n_pages;
                mco_uint4 n_free_pages;
    } mco_rollback_buf_info_t;

    MCO_RET mco_rollback_buf_info(mco_trans_h t, mco_rollback_buf_info_t *rb_info);

Arguments

t
Transaction handle
rb_info
Address of the output statistics structure

Description

The function fills in the mco_rollback_buf_info_t structure passed via rb_info. The n_pages field shows how many pages can fit into the associated rollback buffer, the n_free_pages indicates the number of pages that are not used yet.

Return Codes

MCO_S_OK
Statistics obtained successfully
MCO_E_INTERRUPTED
Transaction was interrupted by timer, callback or another transaction

Files

Header file:
mco.h
Source file:
mcodb.c
Library:
libmcolib.a