| 606 | } |
| 607 | |
| 608 | when_clause_update::when_clause_update(merge_stmt *p) |
| 609 | : when_clause(p), myscope(p->scope) |
| 610 | { |
| 611 | myscope.tables = scope->tables; |
| 612 | myscope.refs = scope->refs; |
| 613 | scope = &myscope; |
| 614 | scope->refs.push_back(&*(p->target_table_->refs[0])); |
| 615 | |
| 616 | set_list = std::make_shared<struct set_list>(this, p->victim); |
| 617 | } |
| 618 | |
| 619 | void when_clause_update::out(std::ostream &out) { |
| 620 | out << "WHEN MATCHED AND " << *condition; |
nothing calls this directly
no outgoing calls
no test coverage detected