int bdblib_recover(bdb_table_p _tp, int _rc) { switch(_rc) { case DB_LOCK_DEADLOCK: ERR("DB_LOCK_DEADLOCK detected !!\n"); case DB_RUNRECOVERY: ERR("DB_RUNRECOVERY detected !! \n"); bdblib_destroy(); exit(1); break; } return 0; }
static void destroy(void) { bdblib_destroy(); }
static void bdb_mod_destroy(void) { km_destroy(); bdblib_destroy(); }