true/false are keywords, use all-caps

This commit is contained in:
Christian Grothoff 2017-11-04 18:03:55 +01:00
parent 169962d769
commit 215c6db54c
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 10 additions and 10 deletions

View File

@ -16,8 +16,8 @@ taler\-exchange\-httpd \- Run Taler exchange (with RESTful API)
.IP "\-C, \-\-connection-close" .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). 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 .B
.IP "\-d DIRNAME, \-\-exchange-dir=DIRNAME" .IP "\-c FILENAME, \-\-config=FILENAME"
Use the configuration and other resources for the exchange to operate from DIRNAME. Use the configuration and other resources for the merchant to operate from FILENAME.
.B .B
.IP "\-h, \-\-help" .IP "\-h, \-\-help"
Print short help on options. Print short help on options.

View File

@ -343,8 +343,8 @@ postgres_create_tables (void *cls)
",h_wire BYTEA NOT NULL CHECK (LENGTH(h_wire)=64)" ",h_wire BYTEA NOT NULL CHECK (LENGTH(h_wire)=64)"
",coin_sig BYTEA NOT NULL CHECK (LENGTH(coin_sig)=64)" ",coin_sig BYTEA NOT NULL CHECK (LENGTH(coin_sig)=64)"
",wire TEXT NOT NULL" ",wire TEXT NOT NULL"
",tiny BOOLEAN NOT NULL DEFAULT false" ",tiny BOOLEAN NOT NULL DEFAULT FALSE"
",done BOOLEAN NOT NULL DEFAULT false" ",done BOOLEAN NOT NULL DEFAULT FALSE"
",UNIQUE (coin_pub, h_contract_terms, merchant_pub)" ",UNIQUE (coin_pub, h_contract_terms, merchant_pub)"
");"), ");"),
/* Index for get_deposit statement on coin_pub, h_contract_terms and 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" " FROM deposits"
" JOIN known_coins USING (coin_pub)" " JOIN known_coins USING (coin_pub)"
" JOIN denominations denom USING (denom_pub_hash)" " JOIN denominations denom USING (denom_pub_hash)"
" WHERE tiny=false" " WHERE tiny=FALSE"
" AND done=false" " AND done=FALSE"
" AND wire_deadline<=$1" " AND wire_deadline<=$1"
" AND refund_deadline<$1" " AND refund_deadline<$1"
" ORDER BY wire_deadline ASC" " ORDER BY wire_deadline ASC"
@ -1063,20 +1063,20 @@ postgres_prepare (PGconn *db_conn)
" WHERE" " WHERE"
" merchant_pub=$1 AND" " merchant_pub=$1 AND"
" h_wire=$2 AND" " h_wire=$2 AND"
" done=false" " done=FALSE"
" ORDER BY wire_deadline ASC" " ORDER BY wire_deadline ASC"
" LIMIT " TALER_EXCHANGEDB_MATCHING_DEPOSITS_LIMIT_STR ";", " LIMIT " TALER_EXCHANGEDB_MATCHING_DEPOSITS_LIMIT_STR ";",
2), 2),
/* Used in #postgres_mark_deposit_tiny() */ /* Used in #postgres_mark_deposit_tiny() */
GNUNET_PQ_make_prepare ("mark_deposit_tiny", GNUNET_PQ_make_prepare ("mark_deposit_tiny",
"UPDATE deposits" "UPDATE deposits"
" SET tiny=true" " SET tiny=TRUE"
" WHERE deposit_serial_id=$1", " WHERE deposit_serial_id=$1",
1), 1),
/* Used in #postgres_mark_deposit_done() */ /* Used in #postgres_mark_deposit_done() */
GNUNET_PQ_make_prepare ("mark_deposit_done", GNUNET_PQ_make_prepare ("mark_deposit_done",
"UPDATE deposits" "UPDATE deposits"
" SET done=true" " SET done=TRUE"
" WHERE deposit_serial_id=$1;", " WHERE deposit_serial_id=$1;",
1), 1),
/* Used in #postgres_test_deposit_done() */ /* Used in #postgres_test_deposit_done() */