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

Function check_bind_pos

db/bindings.c:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14#define NSEC_IN_SEC 1000000000
15
16static size_t check_bind_pos(struct db_stmt *stmt)
17{
18 size_t pos = ++stmt->bind_pos;
19 assert(pos < tal_count(stmt->bindings));
20
21 return pos;
22}
23
24/* Local helpers once you have column number */
25static bool db_column_is_null(struct db_stmt *stmt, int col)

Callers 5

db_bind_intFunction · 0.85
db_bind_nullFunction · 0.85
db_bind_u64Function · 0.85
db_bind_blobFunction · 0.85
db_bind_textFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected