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

Function ExecQual

src/include/executor/executor.h:438–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436 */
437#ifndef FRONTEND
438static inline bool
439ExecQual(ExprState *state, ExprContext *econtext)
440{
441 Datum ret;
442 bool isnull;
443
444 /* short-circuit (here and in ExecInitQual) for empty restriction list */
445 if (state == NULL)
446 return true;
447
448 /* verify that expression was compiled using ExecInitQual */
449 Assert(state->flags & EEO_FLAG_IS_QUAL);
450
451 ret = ExecEvalExprSwitchContext(state, econtext, &isnull);
452
453 /* EEOP_QUAL should never return NULL */
454 Assert(!isnull);
455
456 return DatumGetBool(ret);
457}
458#endif
459
460/*

Callers 15

TestExecQualFunction · 0.85
IndexBuildRangeScanMethod · 0.85
compute_index_statsFunction · 0.85
TriggerEnabledFunction · 0.85
CopyFromFunction · 0.85
aocs_col_predicate_testFunction · 0.85
ExecWithCheckOptionsFunction · 0.85

Calls 2

DatumGetBoolFunction · 0.85

Tested by 1

TestExecQualFunction · 0.68