| 1698 | // |
| 1699 | |
| 1700 | static void gen_estore( const act* action, int column) |
| 1701 | { |
| 1702 | const gpre_req* request = action->act_request; |
| 1703 | // if we did a store ... returning_values aka store2 |
| 1704 | // just wrap up pending error |
| 1705 | if (request->req_type == REQ_store2) |
| 1706 | { |
| 1707 | if (action->act_error || (action->act_flags & ACT_sql)) |
| 1708 | endp(column); |
| 1709 | return; |
| 1710 | } |
| 1711 | |
| 1712 | if (action->act_error) |
| 1713 | column += INDENT; |
| 1714 | gen_start(action, request->req_primary, column); |
| 1715 | if (action->act_error || (action->act_flags & ACT_sql)) |
| 1716 | endp(column); |
| 1717 | } |
| 1718 | |
| 1719 | |
| 1720 | //____________________________________________________________ |
no test coverage detected