library/src/databases/bpdb/BP-DB.cc
// Destroy dangling memory from previous queries
Destroy dangling memory from previous queries
Destroy dangling memory from previous queries
BP_ERROR_T BP_DBDestroyMemoryFromAnyPreviousQueries(P_BPDB bpdb)
{
	if(!bpdb)
		return ERR_FAILURE;
	BP_DBDestroyAllRegisteredSQLSyntaxGenerators(bpdb);
	return ERR_SUCCESS;
}
BP_ERROR_T BP_DBDestroyMemoryFromAnyPreviousQueries ( P_BPDB bpdb ) { if ( ! bpdb ) return ERR_FAILURE ; BP_DBDestroyAllRegisteredSQLSyntaxGenerators ( bpdb ) ; return ERR_SUCCESS ; }
Destroy dangling memory from previous queries
Destroy dangling memory from previous queries
// ensure we have a bpdb ptr // destroy all registered sql syntax generators // return indicating success