diff options
author | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-06-05 21:29:36 -0400 |
---|---|---|
committer | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-06-05 21:29:36 -0400 |
commit | ab6ee1680d16905ef938380e49c86710fb5c7155 (patch) | |
tree | c26413faaa32fb16c4d3a887feb53387ffa45926 /src/backenddb/plugin_merchantdb_postgres.c | |
parent | 03146baf2929365c2b8ac88a96300525de80a104 (diff) | |
download | merchant-ab6ee1680d16905ef938380e49c86710fb5c7155.tar.gz merchant-ab6ee1680d16905ef938380e49c86710fb5c7155.tar.bz2 merchant-ab6ee1680d16905ef938380e49c86710fb5c7155.zip |
More complete tests for deposits, transfers, refund, lookup orders
Diffstat (limited to 'src/backenddb/plugin_merchantdb_postgres.c')
-rw-r--r-- | src/backenddb/plugin_merchantdb_postgres.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c index 8c484ff4..9d2e5077 100644 --- a/src/backenddb/plugin_merchantdb_postgres.c +++ b/src/backenddb/plugin_merchantdb_postgres.c @@ -5638,6 +5638,7 @@ libtaler_plugin_merchantdb_postgres_init (void *cls) " order_id" ",order_serial" ",creation_time" + ",CAST($7 as BOOL)" /* otherwise $7 is unused and Postgres unhappy */ " FROM merchant_orders" " WHERE merchant_orders.merchant_serial=" " (SELECT merchant_serial " @@ -5658,6 +5659,7 @@ libtaler_plugin_merchantdb_postgres_init (void *cls) " order_id" ",order_serial" ",creation_time" + ",CAST($7 as BOOL)" /* otherwise $7 is unused and Postgres unhappy */ " FROM merchant_contract_terms" " WHERE merchant_contract_terms.merchant_serial=" " (SELECT merchant_serial " @@ -5996,6 +5998,7 @@ libtaler_plugin_merchantdb_postgres_init (void *cls) " order_id" ",order_serial" ",creation_time" + ",CAST($7 as BOOL)" /* otherwise $7 is unused and Postgres unhappy */ " FROM merchant_orders" " WHERE merchant_orders.merchant_serial=" " (SELECT merchant_serial " @@ -6016,6 +6019,7 @@ libtaler_plugin_merchantdb_postgres_init (void *cls) " order_id" ",order_serial" ",creation_time" + ",CAST($7 as BOOL)" /* otherwise $7 is unused and Postgres unhappy */ " FROM merchant_contract_terms" " WHERE merchant_contract_terms.merchant_serial=" " (SELECT merchant_serial " |