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

Method get

relmodel.cc:5–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3map<string, sqltype*> sqltype::typemap;
4
5sqltype * sqltype::get(string n)
6{
7 if (typemap.count(n))
8 return typemap[n];
9 else
10 return typemap[n] = new sqltype(n);
11}
12
13bool sqltype::consistent(struct sqltype *rvalue)
14{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected