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

Function column_callback

sqlite.cc:53–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53extern "C" int column_callback(void *arg, int argc, char **argv, char **azColName)
54{
55 (void) argc; (void) azColName;
56 table *tab = (table *)arg;
57 column c(argv[1], sqltype::get(argv[2]));
58 tab->columns().push_back(c);
59 return 0;
60}
61
62sqlite_connection::sqlite_connection(std::string &conninfo)
63{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected