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

Function cleanup_query_list

cdb2api/cdb2api.c:4199–4214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4197}
4198
4199static inline void cleanup_query_list(cdb2_hndl_tp *hndl,
4200 cdb2_query_list *commit_query_list,
4201 int line)
4202{
4203 debugprint("called from line %d\n", line);
4204 hndl->read_intrans_results = 1;
4205 hndl->snapshot_file = 0;
4206 hndl->snapshot_offset = 0;
4207 hndl->is_retry = 0;
4208 hndl->error_in_trans = 0;
4209 hndl->in_trans = 0;
4210 debugprint("setting in_trans to 0\n");
4211
4212 free_query_list_on_handle(hndl);
4213 free_query_list(commit_query_list);
4214}
4215
4216static inline void clear_snapshot_info(cdb2_hndl_tp *hndl, int line)
4217{

Callers 1

Calls 2

free_query_listFunction · 0.85

Tested by

no test coverage detected