mco_db_recover_required

This function will determine from the log file if any database connections were not properly closed.

Prototype

    mco_bool mco_db_recover_required(const char *log_file_path);

Arguments

log_file_path
File path to the database log file.

Description

This function will determine from the log file if any database connections were not properly closed.

Return Codes

MCO_YES
Recovery of a corrupted database is required.
MCO_NO
No recovery required.