[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: true/false are keyw
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: true/false are keywords, use all-caps |
Date: |
Sat, 04 Nov 2017 18:03:57 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 215c6db true/false are keywords, use all-caps
215c6db is described below
commit 215c6db54c115d37c81d94399f1e0f830bfb5760
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Nov 4 18:03:55 2017 +0100
true/false are keywords, use all-caps
---
doc/taler-exchange-httpd.1 | 4 ++--
src/exchangedb/plugin_exchangedb_postgres.c | 16 ++++++++--------
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/doc/taler-exchange-httpd.1 b/doc/taler-exchange-httpd.1
index a02619d..3ebbb6c 100644
--- a/doc/taler-exchange-httpd.1
+++ b/doc/taler-exchange-httpd.1
@@ -16,8 +16,8 @@ taler\-exchange\-httpd \- Run Taler exchange (with RESTful
API)
.IP "\-C, \-\-connection-close"
Force each HTTP connection to be closed after each request (useful in
combination with \-f to avoid having to wait for nc to time out).
.B
-.IP "\-d DIRNAME, \-\-exchange-dir=DIRNAME"
-Use the configuration and other resources for the exchange to operate from
DIRNAME.
+.IP "\-c FILENAME, \-\-config=FILENAME"
+Use the configuration and other resources for the merchant to operate from
FILENAME.
.B
.IP "\-h, \-\-help"
Print short help on options.
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c
b/src/exchangedb/plugin_exchangedb_postgres.c
index d39adf2..0faf126 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -343,8 +343,8 @@ postgres_create_tables (void *cls)
",h_wire BYTEA NOT NULL CHECK (LENGTH(h_wire)=64)"
",coin_sig BYTEA NOT NULL CHECK
(LENGTH(coin_sig)=64)"
",wire TEXT NOT NULL"
- ",tiny BOOLEAN NOT NULL DEFAULT false"
- ",done BOOLEAN NOT NULL DEFAULT false"
+ ",tiny BOOLEAN NOT NULL DEFAULT FALSE"
+ ",done BOOLEAN NOT NULL DEFAULT FALSE"
",UNIQUE (coin_pub, h_contract_terms, merchant_pub)"
");"),
/* Index for get_deposit statement on coin_pub, h_contract_terms and
merchant_pub */
@@ -1035,8 +1035,8 @@ postgres_prepare (PGconn *db_conn)
" FROM deposits"
" JOIN known_coins USING (coin_pub)"
" JOIN denominations denom USING
(denom_pub_hash)"
- " WHERE tiny=false"
- " AND done=false"
+ " WHERE tiny=FALSE"
+ " AND done=FALSE"
" AND wire_deadline<=$1"
" AND refund_deadline<$1"
" ORDER BY wire_deadline ASC"
@@ -1063,20 +1063,20 @@ postgres_prepare (PGconn *db_conn)
" WHERE"
" merchant_pub=$1 AND"
" h_wire=$2 AND"
- " done=false"
+ " done=FALSE"
" ORDER BY wire_deadline ASC"
" LIMIT "
TALER_EXCHANGEDB_MATCHING_DEPOSITS_LIMIT_STR ";",
2),
/* Used in #postgres_mark_deposit_tiny() */
GNUNET_PQ_make_prepare ("mark_deposit_tiny",
"UPDATE deposits"
- " SET tiny=true"
+ " SET tiny=TRUE"
" WHERE deposit_serial_id=$1",
1),
/* Used in #postgres_mark_deposit_done() */
GNUNET_PQ_make_prepare ("mark_deposit_done",
"UPDATE deposits"
- " SET done=true"
+ " SET done=TRUE"
" WHERE deposit_serial_id=$1;",
1),
/* Used in #postgres_test_deposit_done() */
@@ -1314,7 +1314,7 @@ postgres_prepare (PGconn *db_conn)
",done"
" FROM deposits"
" WHERE wire_deadline <= $1"
- " AND wire_deadline > $2"
+ " AND wire_deadline > $2"
" AND NOT (EXISTS (SELECT 1"
" FROM refunds"
" WHERE (refunds.coin_pub =
deposits.coin_pub))"
--
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: true/false are keywords, use all-caps,
gnunet <=