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

Method scope

relmodel.hh:88–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 /// Counters for prefixed stmt-unique identifiers
87 shared_ptr<map<string,unsigned int> > stmt_seq;
88 scope(struct scope *parent = 0) : parent(parent) {
89 if (parent) {
90 schema = parent->schema;
91 tables = parent->tables;
92 refs = parent->refs;
93 stmt_seq = parent->stmt_seq;
94 }
95 }
96 vector<pair<named_relation*, column> > refs_of_type(sqltype *t) {
97 vector<pair<named_relation*, column> > result;
98 for (auto r : refs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected