This function allows an application to explicitly recover a database.
MCO_RET mco_db_recover( mco_db_h db, mco_db_h recover_db );
db | The database handle that was established by mco_db_connect() |
recover_db |
The database handle of the crashed database |
Normally a database that was not properly closed (perhaps after a system crash) will be recovered automatically during the
mco_db_open_dev()
. This function allows an application to explicitly recover a database.
MCO_S_OK | Database recovered successfully |
MCO_E_DISK_OPEN | Unable to open database log file |