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

Method select_list

grammar.cc:215–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215select_list::select_list(prod *p) : prod(p)
216{
217 do {
218 shared_ptr<value_expr> e = value_expr::factory(this);
219 value_exprs.push_back(e);
220 ostringstream name;
221 name << "c" << columns++;
222 sqltype *t=e->type;
223 assert(t);
224 derived_table.columns().push_back(column(name.str(), t));
225 } while (d6() > 1);
226}
227
228void select_list::out(std::ostream &out)
229{

Callers

nothing calls this directly

Calls 2

columnClass · 0.85
d6Function · 0.85

Tested by

no test coverage detected