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

Function db_step

db/utils.c:150–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150bool db_step(struct db_stmt *stmt)
151{
152 bool ret;
153
154 assert(stmt->executed);
155 ret = stmt->db->config->step_fn(stmt);
156
157#if DEVELOPER
158 /* We only track cols_used if we return a result! */
159 if (ret && !stmt->cols_used) {
160 stmt->cols_used = tal(stmt, struct strset);
161 strset_init(stmt->cols_used);
162 }
163#endif
164 return ret;
165}
166
167bool db_exec_prepared_v2(struct db_stmt *stmt TAKES)
168{

Calls 1

strset_initFunction · 0.85

Tested by 2

test_manip_columnsFunction · 0.68
count_inflightsFunction · 0.68