MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / list_tables

Function list_tables

tools/cdb2sql/cdb2sql.cpp:802–807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

800static void (*report_costs)(void) = REPORT_COSTS;
801
802int list_tables()
803{
804 int start_time_ms, run_time_ms;
805 const char *sql = "SELECT tablename FROM comdb2_tables order by tablename";
806 return run_statement(sql, 0, NULL, &start_time_ms, &run_time_ms);
807}
808
809int list_systables()
810{

Callers 1

process_escapeFunction · 0.85

Calls 1

run_statementFunction · 0.70

Tested by

no test coverage detected