rgb-cln/db
Rusty Russell 9bcf28afb3 db: catch SQL errors unless we're expecting them.
I couldn't figure out why my new SQL query was returning 0 rows,
and it was because we were ignoring errors.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-04-06 09:50:32 +09:30
..
Makefile database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
bindings.c db_col_optional: wrapper for case where a field is allowed to be NULL. 2023-03-25 15:28:02 +10:30
bindings.h db_col_optional: wrapper for case where a field is allowed to be NULL. 2023-03-25 15:28:02 +10:30
common.h database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
db_postgres.c db/postgres: avoid memleak. 2022-09-22 15:19:46 +02:00
db_sqlite3.c db: fix sqlite3 code which manipulates columns. 2022-09-12 14:00:41 +02:00
exec.c db: catch SQL errors unless we're expecting them. 2023-04-06 09:50:32 +09:30
exec.h database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
utils.c db: catch SQL errors unless we're expecting them. 2023-04-06 09:50:32 +09:30
utils.h db: catch SQL errors unless we're expecting them. 2023-04-06 09:50:32 +09:30