MCPcopy Create free account
hub / github.com/anse1/sqlsmith / expr_join_cond

Method expr_join_cond

grammar.cc:138–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138expr_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
149void expr_join_cond::out(std::ostream &out) {
150 out << *search;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected