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

Function SetToNoValuesPossible

src/backend/optimizer/util/predtest_valueset.c:209–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209static void
210SetToNoValuesPossible(PossibleValueSet *pvs)
211{
212 if (pvs->memoryContext)
213 {
214 MemoryContextDelete(pvs->memoryContext);
215 }
216 pvs->memoryContext = AllocSetContextCreate(CurrentMemoryContext,
217 "PossibleValueSet",
218 ALLOCSET_DEFAULT_MINSIZE,
219 ALLOCSET_DEFAULT_INITSIZE,
220 ALLOCSET_DEFAULT_MAXSIZE);
221 pvs->set = CreateNodeSetHashTable(pvs->memoryContext);
222 pvs->isAnyValuePossible = false;
223}
224
225/**
226 * basic operation on PossibleValueSet: remove a value from the set field of PossibleValueSet

Callers 1

Calls 1

CreateNodeSetHashTableFunction · 0.85

Tested by

no test coverage detected