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

Function stmt_cache_free_entry

db/sql_stmt_cache.c:134–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134static void stmt_cache_free_entry(stmt_cache_entry_t *entry)
135{
136 if (entry->query && gbl_debug_temptables) {
137 free(entry->query);
138 entry->query = NULL;
139 }
140 sqlite3_free(entry);
141}
142
143static int stmt_cache_finalize_entry(stmt_cache_entry_t *entry)
144{

Callers 3

stmt_cache_getFunction · 0.85
stmt_cache_put_intFunction · 0.85

Calls 2

freeFunction · 0.85
sqlite3_freeFunction · 0.85

Tested by

no test coverage detected