library/src/databases/sqlite/BP-DBSqlite.cc
// Clears both caches (just calls the above two routines)
Clears both caches (just calls the above two routines)
Clears both caches ( just calls the above two routines )
BP_ERROR_T BP_SQLiteClearBothQueryAndResultCaches
(
	P_BP_DB_SQLITE sqli
)
{
	if(!sqli)
		return ERR_FAILURE;
	BP_SQLiteClearResultCache(sqli);
	BP_SQLiteClearQueryCache(sqli);
	return ERR_SUCCESS;
}
BP_ERROR_T BP_SQLiteClearBothQueryAndResultCaches ( P_BP_DB_SQLITE sqli ) { if ( ! sqli ) return ERR_FAILURE ; BP_SQLiteClearResultCache ( sqli ) ; BP_SQLiteClearQueryCache ( sqli ) ; return ERR_SUCCESS ; }
Clears both caches (just calls the above two routines)
Clears both caches ( just calls the above two routines )
// ensure we have an interface handle // clear cache (has it's own locks) // clear queries (has it's own locks) // always return success