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

Function table_callback

sqlite.cc:43–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43extern "C" int table_callback(void *arg, int argc, char **argv, char **azColName)
44{
45 (void) argc; (void) azColName;
46 auto tables = (vector<table> *)arg;
47 bool view = (string("view") == argv[0]);
48 table tab(argv[2], "main", !view, !view);
49 tables->push_back(tab);
50 return 0;
51}
52
53extern "C" int column_callback(void *arg, int argc, char **argv, char **azColName)
54{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected