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

Method when_clause_update

grammar.cc:608–617  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

606}
607
608when_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
619void when_clause_update::out(std::ostream &out) {
620 out << "WHEN MATCHED AND " << *condition;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected