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

Method stmt_uid

relmodel.hh:105–110  ·  view source on GitHub ↗

Generate unique identifier with prefix. */

Source from the content-addressed store, hash-verified

103 }
104 /** Generate unique identifier with prefix. */
105 string stmt_uid(const char* prefix) {
106 string result(prefix);
107 result += "_";
108 result += std::to_string((*stmt_seq)[result]++);
109 return result;
110 }
111 /** Reset unique identifier counters. */
112 void new_stmt() {
113 stmt_seq = std::make_shared<map<string,unsigned int> >();

Callers 5

table_or_query_nameMethod · 0.80
target_tableMethod · 0.80
table_sampleMethod · 0.80
table_subqueryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected