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

Function ExecEvalSubPlan

src/backend/executor/execExprInterp.c:4155–4164  ·  view source on GitHub ↗

* Hand off evaluation of a subplan to nodeSubplan.c */

Source from the content-addressed store, hash-verified

4153 * Hand off evaluation of a subplan to nodeSubplan.c
4154 */
4155void
4156ExecEvalSubPlan(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
4157{
4158 SubPlanState *sstate = op->d.subplan.sstate;
4159
4160 /* could potentially be nested, so make sure there's enough stack */
4161 check_stack_depth();
4162
4163 *op->resvalue = ExecSubPlan(sstate, econtext, op->resnull);
4164}
4165
4166/*
4167 * Evaluate a wholerow Var expression.

Callers 1

ExecInterpExprFunction · 0.85

Calls 2

check_stack_depthFunction · 0.85
ExecSubPlanFunction · 0.85

Tested by

no test coverage detected