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

Function get_sql_pool

db/sqlpool.c:211–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211struct thdpool *get_sql_pool(struct sqlclntstate *clnt)
212{
213 if ((clnt != NULL) && (clnt->pPool != NULL)) return clnt->pPool;
214 return get_default_sql_pool(0);
215}
216
217struct thdpool *get_named_sql_pool(const char *zName, int bCreate, int nThreads)
218{

Callers 5

_add_parallel_loadFunction · 0.85
dohsql_distributeFunction · 0.85
enqueue_sql_queryFunction · 0.85
luabb_trigger_registerFunction · 0.85

Calls 1

get_default_sql_poolFunction · 0.85

Tested by

no test coverage detected