summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-05-07 12:38:17 +0200
committerChristian Grothoff <christian@grothoff.org>2015-05-07 12:38:17 +0200
commit237cab27a94ea019e9fdb3d8cc8d9724b965bc34 (patch)
tree4255527da927a5c09839cd42242267527a08ea13
parentbfa62094d99affda447f452bccedc3af305f02ed (diff)
downloadexchange-237cab27a94ea019e9fdb3d8cc8d9724b965bc34.tar.gz
exchange-237cab27a94ea019e9fdb3d8cc8d9724b965bc34.tar.bz2
exchange-237cab27a94ea019e9fdb3d8cc8d9724b965bc34.zip
capitalize SQL keywords
-rw-r--r--contrib/mint-template/config/mint-common.conf6
-rw-r--r--src/mintdb/plugin_mintdb_postgres.c2
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"