This function returns statistics information about usage of the asynchronous buffer.
typedef struct
{
mco_size_t allocated_size;
mco_size_t used_size;
mco_uint8 n_overflows;
} mco_HA_async_buf_info;
MCO_RET mco_HA_get_async_buf_info(mco_db_h db, mco_HA_async_buf_info *abi);
| db | Connection handle to the master database |
| abi | Address of the output buffer |
This functions provides information about usage of the asynchronous buffer:
allocated_size - the size of the bufferused_size - the used part of the buffern_overflows - counter of overflows| MCO_S_OK | Successful. |
| MCO_E_NOT_MASTER | Not on the master. |
| MCO_E_HA_INCOMPATIBLE_MODES | Asynchronous mode was not enabled. |