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

Function evalFunc

src/bin/pgbench/pgbench.c:2638–2646  ·  view source on GitHub ↗

evaluate some function */

Source from the content-addressed store, hash-verified

2636
2637/* evaluate some function */
2638static bool
2639evalFunc(CState *st,
2640 PgBenchFunction func, PgBenchExprLink *args, PgBenchValue *retval)
2641{
2642 if (isLazyFunc(func))
2643 return evalLazyFunc(st, func, args, retval);
2644 else
2645 return evalStandardFunc(st, func, args, retval);
2646}
2647
2648/*
2649 * Recursive evaluation of an expression in a pgbench script

Callers 1

evaluateExprFunction · 0.85

Calls 3

isLazyFuncFunction · 0.85
evalLazyFuncFunction · 0.85
evalStandardFuncFunction · 0.85

Tested by

no test coverage detected