Example #1
0
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;
}
Example #2
0
static void destroy(void)
{
    bdblib_destroy();
}
Example #3
0
static void bdb_mod_destroy(void)
{
	km_destroy();
	bdblib_destroy();
}