gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant] 18/19: Fix backenddb


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] 18/19: Fix backenddb
Date: Fri, 10 Feb 2017 14:23:09 +0100

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

marcello pushed a commit to branch master
in repository merchant.

commit 9e8f9c9d4b8febe029594ab19ac2d239154fd342
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Feb 8 11:46:39 2017 +0100

    Fix backenddb
---
 src/backenddb/plugin_merchantdb_postgres.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/backenddb/plugin_merchantdb_postgres.c 
b/src/backenddb/plugin_merchantdb_postgres.c
index 9a528d2..5becc92 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -294,7 +294,7 @@ postgres_initialize (void *cls)
   PG_PREPARE (pg,
               "find_transactions_by_date",
               "SELECT"
-              " transaction_id"
+              " h_proposal_data"
              ",merchant_pub"
               ",exchange_uri"
               ",h_wire"
@@ -319,7 +319,7 @@ postgres_initialize (void *cls)
               ",total_amount_frac"
               ",total_amount_curr"
               " FROM merchant_transactions"
-              " WHERE transaction_id=$1"
+              " WHERE h_proposal_data=$1"
              " AND merchant_pub=$2",
               2);
   PG_PREPARE (pg,
@@ -348,7 +348,7 @@ postgres_initialize (void *cls)
               ",deposit_fee_curr"
               ",exchange_proof"
               " FROM merchant_deposits"
-              " WHERE transaction_id=$1"
+              " WHERE h_proposal_data=$1"
               " AND merchant_pub=$2"
               " AND coin_pub=$3",
               3);

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



reply via email to

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