gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] branch master updated: params argument must not be NULL


From: gnunet
Subject: [taler-merchant] branch master updated: params argument must not be NULL
Date: Sun, 21 Jan 2024 12:33:51 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new e0faebdb params argument must not be NULL
e0faebdb is described below

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

    params argument must not be NULL
---
 src/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
index 87951745..e9cc7efd 100644
--- 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");

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]