| 128 | }; |
| 129 | |
| 130 | struct query_spec : prod { |
| 131 | std::string set_quantifier; |
| 132 | shared_ptr<struct from_clause> from_clause; |
| 133 | shared_ptr<struct select_list> select_list; |
| 134 | shared_ptr<bool_expr> search; |
| 135 | std::string limit_clause; |
| 136 | struct scope myscope; |
| 137 | virtual void out(std::ostream &out); |
| 138 | query_spec(prod *p, struct scope *s, bool lateral = 0); |
| 139 | virtual void accept(prod_visitor *v) { |
| 140 | v->visit(this); |
| 141 | select_list->accept(v); |
| 142 | from_clause->accept(v); |
| 143 | search->accept(v); |
| 144 | } |
| 145 | }; |
| 146 | |
| 147 | struct select_for_update : query_spec { |
| 148 | const char *lockmode; |
nothing calls this directly
no outgoing calls
no test coverage detected