gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant] branch master updated: oops, call insert_s


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: oops, call insert_session_info prepared statement correctly
Date: Mon, 26 Aug 2019 00:21:20 +0200

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

dold pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new a23cb14  oops, call insert_session_info prepared statement correctly
a23cb14 is described below

commit a23cb140c563860041d930efd481fb3feade9acc
Author: Florian Dold <address@hidden>
AuthorDate: Mon Aug 26 00:21:15 2019 +0200

    oops, call insert_session_info prepared statement correctly
---
 src/backenddb/plugin_merchantdb_postgres.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backenddb/plugin_merchantdb_postgres.c 
b/src/backenddb/plugin_merchantdb_postgres.c
index 1b4828e..e550bef 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -1197,8 +1197,8 @@ postgres_find_session_info (void *cls,
   struct PostgresClosure *pg = cls;
 
   struct GNUNET_PQ_QueryParam params[] = {
-    GNUNET_PQ_query_param_auto_from_type (session_id),
     GNUNET_PQ_query_param_auto_from_type (resource_url),
+    GNUNET_PQ_query_param_auto_from_type (session_id),
     GNUNET_PQ_query_param_auto_from_type (merchant_pub),
     GNUNET_PQ_query_param_end
   };
@@ -1210,7 +1210,7 @@ postgres_find_session_info (void *cls,
   // We don't clean up the result spec since we want
   // to keep around the memory for order_id.
   return GNUNET_PQ_eval_prepared_singleton_select (pg->conn,
-                                                   
"find_contract_terms_history",
+                                                   "find_session_info",
                                                    params,
                                                    rs);
 }

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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