[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: Fix SELECT statemen
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: Fix SELECT statement. |
Date: |
Tue, 10 Jul 2018 11:52:34 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 8f6b8db Fix SELECT statement.
8f6b8db is described below
commit 8f6b8dbe97181de6deced776f68e3ac30e3834fc
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Jul 10 11:52:13 2018 +0200
Fix SELECT statement.
---
src/exchangedb/plugin_exchangedb_postgres.c | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c
b/src/exchangedb/plugin_exchangedb_postgres.c
index 7cf78c1..790805b 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -1302,9 +1302,9 @@ postgres_prepare (PGconn *db_conn)
*/
GNUNET_PQ_make_prepare ("get_kyc_status",
- "SELECT "
- "(kyc_checked"
- ",merchant_serial_id)"
+ "SELECT"
+ " kyc_checked"
+ ",merchant_serial_id"
" FROM kyc_merchants"
" WHERE payto_url=$1",
1),
@@ -6635,10 +6635,12 @@ postgres_get_kyc_status (void *cls,
GNUNET_PQ_result_spec_end
};
- qs = GNUNET_PQ_eval_prepared_singleton_select (session->conn,
- "get_kyc_status",
- params,
- rs);
+ qs = GNUNET_PQ_eval_prepared_singleton_select
+ (session->conn,
+ "get_kyc_status",
+ params,
+ rs);
+
if (0 >= qs)
return qs;
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-exchange] branch master updated: Fix SELECT statement.,
gnunet <=