This function allows an application to explicitly recover any database connections that were not properly closed.
MCO_RET mco_db_recover_all( mco_db_h db );
db | The database handle that was established by mco_db_connect() |
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 anydatabases connections that were not properly closed.
MCO_S_OK | Database recovered successfully |
MCO_E_DISK_OPEN | Unable to open database log file |