From 237cab27a94ea019e9fdb3d8cc8d9724b965bc34 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 7 May 2015 12:38:17 +0200 Subject: [PATCH] capitalize SQL keywords --- contrib/mint-template/config/mint-common.conf | 6 ++++-- src/mintdb/plugin_mintdb_postgres.c | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/contrib/mint-template/config/mint-common.conf b/contrib/mint-template/config/mint-common.conf index 9a9676d05..b76ce3931 100644 --- a/contrib/mint-template/config/mint-common.conf +++ b/contrib/mint-template/config/mint-common.conf @@ -6,10 +6,12 @@ CURRENCY = EUR WIREFORMAT = SEPA # How to access our database -DB = postgres:///taler +DB = postgres + +DB_CONN_STR = "" # HTTP port the mint listens to PORT = 4241 # Master public key used to sign the mint's various keys -MASTER_PUBLIC_KEY = ... +MASTER_PUBLIC_KEY = NEGTF62MNGVPZNW19V7S3CRS9D7K04MAHDGX3N6WY2NXREN26J80 diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c index 911028e40..83a9feefa 100644 --- a/src/mintdb/plugin_mintdb_postgres.c +++ b/src/mintdb/plugin_mintdb_postgres.c @@ -434,7 +434,7 @@ postgres_prepare (PGconn *db_conn) "WHERE blind_ev = $1", 1, NULL); PREPARE ("get_reserves_blindcoins", - "select" + "SELECT" " blind_ev" ",denom_pub, denom_sig" ",reserve_sig"