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

Function generic_generator_no_systables

tools/cdb2sql/cdb2sql.cpp:415–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413}
414
415static char *generic_generator_no_systables(const char *text, const int state)
416{
417 char sql[256];
418 snprintf(sql, sizeof(sql),
419 "SELECT DISTINCT candidate as c FROM comdb2_completion('%s') "
420 "where c not in (select name from comdb2_systables)",
421 text);
422
423 return db_generator(state, sql);
424}
425
426static char *generic_generator(const char *text, const int state)
427{

Callers

nothing calls this directly

Calls 1

db_generatorFunction · 0.85

Tested by

no test coverage detected