MCPcopy Create free account
hub / github.com/ElementsProject/lightning / db_step

Function db_step

db/utils.c:160–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160bool db_step(struct db_stmt *stmt)
161{
162 bool ret;
163
164 assert(stmt->executed);
165 ret = stmt->db->config->step_fn(stmt);
166
167 /* We only track cols_used if we return a result! */
168 if (stmt->db->developer && ret && !stmt->cols_used) {
169 stmt->cols_used = tal(stmt, struct strset);
170 strset_init(stmt->cols_used);
171 }
172
173 return ret;
174}
175
176void db_exec_prepared_v2(struct db_stmt *stmt TAKES)
177{

Calls 1

strset_initFunction · 0.85

Tested by 4

test_manip_columnsFunction · 0.68
count_inflightsFunction · 0.68
count_movesFunction · 0.68
count_movesFunction · 0.68