---------- * exec_stmt_perform Evaluate query and discard result (but set * FOUND depending on whether at least one row * was returned). * ---------- */
| 2132 | * ---------- |
| 2133 | */ |
| 2134 | static int |
| 2135 | exec_stmt_perform(PLpgSQL_execstate *estate, PLpgSQL_stmt_perform *stmt) |
| 2136 | { |
| 2137 | PLpgSQL_expr *expr = stmt->expr; |
| 2138 | |
| 2139 | (void) exec_run_select(estate, expr, 0, NULL); |
| 2140 | exec_set_found(estate, (estate->eval_processed != 0)); |
| 2141 | exec_eval_cleanup(estate); |
| 2142 | |
| 2143 | return PLPGSQL_RC_OK; |
| 2144 | } |
| 2145 | |
| 2146 | /* |
| 2147 | * exec_stmt_call |
no test coverage detected