merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit e0faebdbab2fbce634009d7ff52affced58fdc57
parent f110c48ec37c4913a51cea6ce521ec1289bfab2b
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 21 Jan 2024 11:33:48 +0100

params argument must not be NULL

Diffstat:
Msrc/backenddb/plugin_merchantdb_postgres.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c @@ -202,6 +202,9 @@ postgres_create_tables (void *cls) GNUNET_PQ_make_try_execute ("SET search_path TO merchant;"), GNUNET_PQ_EXECUTE_STATEMENT_END }; + struct GNUNET_PQ_QueryParam params[] = { + GNUNET_PQ_query_param_end + }; enum GNUNET_GenericReturnValue ret; conn = GNUNET_PQ_connect_with_cfg (pc->cfg, @@ -214,7 +217,7 @@ postgres_create_tables (void *cls) if (0 > GNUNET_PQ_eval_prepared_non_select (conn, "create_tables", - NULL)) + params)) ret = GNUNET_SYSERR; ret = GNUNET_PQ_exec_sql (conn, "procedures");