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

Function stmt_cache_put

db/sql_stmt_cache.c:614–618  ·  view source on GitHub ↗

* Cache a stmt if needed; struct sql_state is prepared by * stmt_cache_get(), and it is cleaned here as well * */

Source from the content-addressed store, hash-verified

612 *
613 */
614int stmt_cache_put(struct sqlthdstate *thd, struct sqlclntstate *clnt,
615 struct sql_state *rec, int outrc)
616{
617 return stmt_cache_put_distributed(thd, clnt, rec, outrc, 0);
618}

Callers 1

donate_stmtFunction · 0.85

Calls 1

Tested by

no test coverage detected