| 406 | } |
| 407 | |
| 408 | set_list::set_list(prod *p, table *target) : prod(p) |
| 409 | { |
| 410 | do { |
| 411 | for (auto col : target->columns()) { |
| 412 | if (d6() < 4) |
| 413 | continue; |
| 414 | auto expr = value_expr::factory(this, col.type); |
| 415 | value_exprs.push_back(expr); |
| 416 | names.push_back(col.name); |
| 417 | } |
| 418 | } while (!names.size()); |
| 419 | } |
| 420 | |
| 421 | void set_list::out(std::ostream &out) |
| 422 | { |