[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] 154/277: return creation_time instead of leaving it uni
From: |
gnunet |
Subject: |
[taler-merchant] 154/277: return creation_time instead of leaving it uninitizlied, mark problematic missing lines |
Date: |
Sun, 05 Jul 2020 20:51:07 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
commit 3e75373f6b4998a0c97ee6f735c01f21c0f2576f
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat May 30 12:14:17 2020 +0200
return creation_time instead of leaving it uninitizlied, mark problematic
missing lines
---
src/backenddb/plugin_merchantdb_postgres.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/backenddb/plugin_merchantdb_postgres.c
b/src/backenddb/plugin_merchantdb_postgres.c
index c58a947..756071a 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -3886,8 +3886,8 @@ lookup_reserves_cb (void *cls,
struct GNUNET_PQ_ResultSpec rs[] = {
GNUNET_PQ_result_spec_auto_from_type ("reserve_pub",
&reserve_pub),
- /*GNUNET_PQ_result_spec_absolute_time ("creation_time",
- &creation_time),*/
+ GNUNET_PQ_result_spec_absolute_time ("creation_time",
+ &creation_time),
GNUNET_PQ_result_spec_absolute_time ("expiration",
&expiration_time),
TALER_PQ_RESULT_SPEC_AMOUNT ("merchant_initial_balance",
@@ -3899,7 +3899,7 @@ lookup_reserves_cb (void *cls,
TALER_PQ_RESULT_SPEC_AMOUNT ("tips_picked_up",
&pickup_amount),
/*GNUNET_PQ_result_spec_auto_from_type ("active",
- &active),*/
+ &active), FIXME: 'active'*/
GNUNET_PQ_result_spec_end
};
@@ -4094,7 +4094,7 @@ postgres_lookup_reserve (void *cls,
TALER_PQ_RESULT_SPEC_AMOUNT ("tips_committed",
&committed_amount),
/*GNUNET_PQ_result_spec_auto_from_type ("active",
- &active),*/
+ &active), FIXME: active! */
GNUNET_PQ_result_spec_end
};
enum GNUNET_DB_QueryStatus qs;
@@ -7432,6 +7432,7 @@ libtaler_plugin_merchantdb_postgres_init (void *cls)
GNUNET_PQ_make_prepare ("lookup_reserves",
"SELECT"
" reserve_pub"
+ ",creation_time"
",expiration"
",merchant_initial_balance_val"
",merchant_initial_balance_frac"
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-merchant] 151/277: backenddb tests for lookup_transfers, lookup_transfer_summary, lookup_transfer_details, (continued)
- [taler-merchant] 151/277: backenddb tests for lookup_transfers, lookup_transfer_summary, lookup_transfer_details, gnunet, 2020/07/05
- [taler-merchant] 150/277: backenddb tests for refunds, gnunet, 2020/07/05
- [taler-merchant] 153/277: fixed test for increase_refund, gnunet, 2020/07/05
- [taler-merchant] 108/277: sketch for GET /transfers cmd, gnunet, 2020/07/05
- [taler-merchant] 134/277: finished writing db tests for products, gnunet, 2020/07/05
- [taler-merchant] 137/277: implement POST /tips/ID/pickup, gnunet, 2020/07/05
- [taler-merchant] 141/277: Merge branch 'protocolV1' of git+ssh://git.taler.net/merchant into protocolV1, gnunet, 2020/07/05
- [taler-merchant] 143/277: more SQL for tips, gnunet, 2020/07/05
- [taler-merchant] 148/277: fixed inventory locking, test code for transfer lookups, gnunet, 2020/07/05
- [taler-merchant] 155/277: fix ftbfs, gnunet, 2020/07/05
- [taler-merchant] 154/277: return creation_time instead of leaving it uninitizlied, mark problematic missing lines,
gnunet <=
- [taler-merchant] 158/277: work on tip APIs, gnunet, 2020/07/05
- [taler-merchant] 156/277: implement lookup tip details, gnunet, 2020/07/05
- [taler-merchant] 159/277: add POST /tips logic, gnunet, 2020/07/05
- [taler-merchant] 164/277: fixed db test building and added test for wire fee storage, gnunet, 2020/07/05
- [taler-merchant] 163/277: implement filter, gnunet, 2020/07/05
- [taler-merchant] 165/277: add logic for activation of reserves to merchant backend DB, gnunet, 2020/07/05
- [taler-merchant] 147/277: added more tests for contract terms, deposits, and transfers, gnunet, 2020/07/05
- [taler-merchant] 160/277: address DB fixes for missing EC values, gnunet, 2020/07/05
- [taler-merchant] 157/277: fix DB use, gnunet, 2020/07/05
- [taler-merchant] 166/277: SQL fixing, gnunet, 2020/07/05