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

Function EvalPlanQualNext

src/backend/executor/execMain.c:3868–3879  ·  view source on GitHub ↗

* Fetch the next row (if any) from EvalPlanQual testing * * (In practice, there should never be more than one row...) */

Source from the content-addressed store, hash-verified

3866 * (In practice, there should never be more than one row...)
3867 */
3868TupleTableSlot *
3869EvalPlanQualNext(EPQState *epqstate)
3870{
3871 MemoryContext oldcontext;
3872 TupleTableSlot *slot;
3873
3874 oldcontext = MemoryContextSwitchTo(epqstate->recheckestate->es_query_cxt);
3875 slot = ExecProcNode(epqstate->recheckplanstate);
3876 MemoryContextSwitchTo(oldcontext);
3877
3878 return slot;
3879}
3880
3881/*
3882 * Initialize or reset an EvalPlanQual state tree

Callers 2

EvalPlanQualFunction · 0.85
ExecLockRowsFunction · 0.85

Calls 2

MemoryContextSwitchToFunction · 0.85
ExecProcNodeFunction · 0.85

Tested by

no test coverage detected