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

Method insert_stmt

grammar.cc:374–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374insert_stmt::insert_stmt(prod *p, struct scope *s, table *v)
375 : modifying_stmt(p, s, v)
376{
377 match();
378
379 for (auto col : victim->columns()) {
380 auto expr = value_expr::factory(this, col.type);
381 assert(expr->type == col.type);
382 value_exprs.push_back(expr);
383 }
384}
385
386void insert_stmt::out(std::ostream &out)
387{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected