/* * This function is called at transaction commit or abort to delete closed * workfiles. */ void workfile_mgr_cleanup(void) { Assert(NULL != workfile_mgr_cache); Cache_SurrenderClientEntries(workfile_mgr_cache); WorkfileDiskspace_Commit(0, used_segspace_not_in_workfile_set, false /* update_query_space */); used_segspace_not_in_workfile_set = 0; }
/* * This function is called at transaction commit or abort to delete closed * workfiles. */ void workfile_mgr_cleanup(void) { Assert(NULL != workfile_mgr_cache); Cache_SurrenderClientEntries(workfile_mgr_cache); }