evaluate some function */
| 2636 | |
| 2637 | /* evaluate some function */ |
| 2638 | static bool |
| 2639 | evalFunc(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 |
no test coverage detected