[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] branch master updated: fix db
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] branch master updated: fix db |
Date: |
Tue, 20 Jun 2017 20:09:09 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 37c253b fix db
37c253b is described below
commit 37c253b04aafb08b5ea9cbdf81a370d85762e269
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Jun 20 20:08:59 2017 +0200
fix db
---
src/backenddb/plugin_merchantdb_postgres.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/backenddb/plugin_merchantdb_postgres.c
b/src/backenddb/plugin_merchantdb_postgres.c
index 06fc40c..8ef4d47 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -350,9 +350,13 @@ postgres_initialize (void *cls)
",reason"
",refund_amount_val"
",refund_amount_frac"
- ",refund_amount_curr) VALUES"
- "($1, $2, $3, $4, $5, $6, $7)",
- 7),
+ ",refund_amount_curr"
+ ",refund_fee_val"
+ ",refund_fee_frac"
+ ",refund_fee_curr"
+ ") VALUES"
+ "($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)",
+ 10),
GNUNET_PQ_make_prepare ("insert_proof",
"INSERT INTO merchant_proofs"
"(exchange_uri"
@@ -1864,6 +1868,7 @@ insert_refund (void *cls,
GNUNET_PQ_query_param_auto_from_type (coin_pub),
GNUNET_PQ_query_param_string (reason),
TALER_PQ_query_param_amount (refund),
+ TALER_PQ_query_param_amount (refund_fee),
GNUNET_PQ_query_param_end
};
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant] branch master updated: fix db,
gnunet <=