MCPcopy Create free account
hub / github.com/apache/cloudberry / ExecAddMatchingSubPlans

Function ExecAddMatchingSubPlans

src/backend/executor/execPartition.c:2220–2232  ·  view source on GitHub ↗

* Like ExecFindMatchingSubPlans, but adds the matching partitions * to an existing Bitmapset. */

Source from the content-addressed store, hash-verified

2218 * to an existing Bitmapset.
2219 */
2220Bitmapset *
2221ExecAddMatchingSubPlans(PartitionPruneState *prunestate, Bitmapset *result)
2222{
2223 Bitmapset *thisresult;
2224
2225 thisresult = ExecFindMatchingSubPlans(prunestate, NULL, -1, NIL);
2226
2227 result = bms_add_members(result, thisresult);
2228
2229 bms_free(thisresult);
2230
2231 return result;
2232}
2233
2234/*
2235 * ExecFindMatchingSubPlans

Callers 1

ExecPartitionSelectorFunction · 0.85

Calls 3

ExecFindMatchingSubPlansFunction · 0.85
bms_add_membersFunction · 0.85
bms_freeFunction · 0.85

Tested by

no test coverage detected