| 136 | } |
| 137 | |
| 138 | expr_join_cond::expr_join_cond(prod *p, table_ref &lhs, table_ref &rhs) |
| 139 | : join_cond(p, lhs, rhs), joinscope(p->scope) |
| 140 | { |
| 141 | scope = &joinscope; |
| 142 | for (auto ref: lhs.refs) |
| 143 | joinscope.refs.push_back(&*ref); |
| 144 | for (auto ref: rhs.refs) |
| 145 | joinscope.refs.push_back(&*ref); |
| 146 | search = bool_expr::factory(this); |
| 147 | } |
| 148 | |
| 149 | void expr_join_cond::out(std::ostream &out) { |
| 150 | out << *search; |
nothing calls this directly
no outgoing calls
no test coverage detected