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

Function db_postgres_count_changes

db/db_postgres.c:243–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243static size_t db_postgres_count_changes(struct db_stmt *stmt)
244{
245 PGresult *res = (PGresult*)stmt->inner_stmt;
246 char *count = PQcmdTuples(res);
247 return atoi(count);
248}
249
250static void db_postgres_teardown(struct db *db)
251{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected