[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 129/151: -fix SQL bugs
From: |
gnunet |
Subject: |
[taler-exchange] 129/151: -fix SQL bugs |
Date: |
Tue, 30 Jul 2024 23:38:19 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit c97633adb8bdfc6f6f2d574e2ada7127c7ba949d
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Jul 26 15:44:30 2024 +0200
-fix SQL bugs
---
src/exchangedb/pg_lookup_aml_history.c | 6 +++---
src/exchangedb/pg_lookup_kyc_history.c | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/exchangedb/pg_lookup_aml_history.c
b/src/exchangedb/pg_lookup_aml_history.c
index 01744bcdd..077e2781c 100644
--- a/src/exchangedb/pg_lookup_aml_history.c
+++ b/src/exchangedb/pg_lookup_aml_history.c
@@ -141,17 +141,17 @@ TEH_PG_lookup_aml_history (
PREPARE (pg,
"lookup_aml_history",
"SELECT"
- " ah.decision_time"
+ " lo.decision_time"
",ah.justification"
",ah.decider_pub"
",lo.jproperties"
",lo.jnew_rules"
",lo.to_investigate"
- ".lo.is_active"
+ ",lo.is_active"
" FROM aml_history ah"
" JOIN legitimization_outcomes lo"
" USING (outcome_serial_id)"
- " WHERE h_payto=$1"
+ " WHERE ah.h_payto=$1"
" ORDER BY decision_time DESC;");
qs = GNUNET_PQ_eval_prepared_multi_select (
pg->conn,
diff --git a/src/exchangedb/pg_lookup_kyc_history.c
b/src/exchangedb/pg_lookup_kyc_history.c
index 6dc67356b..c5bc87d88 100644
--- a/src/exchangedb/pg_lookup_kyc_history.c
+++ b/src/exchangedb/pg_lookup_kyc_history.c
@@ -174,9 +174,9 @@ TEH_PG_lookup_kyc_history (
",ka.encrypted_attributes"
" FROM kyc_attributes ka"
" JOIN legitimization_processes lp"
- " ON (ka.legitimization_serial =
lp.legitimization_process_serial)"
+ " ON (ka.legitimization_serial =
lp.legitimization_process_serial_id)"
" WHERE ka.h_payto=$1"
- " ORDER BY collection_time DESC;");
+ " ORDER BY ka.collection_time DESC;");
qs = GNUNET_PQ_eval_prepared_multi_select (
pg->conn,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-exchange] 53/151: work on kyc-info endpoint, (continued)
- [taler-exchange] 53/151: work on kyc-info endpoint, gnunet, 2024/07/30
- [taler-exchange] 44/151: -bump gana, gnunet, 2024/07/30
- [taler-exchange] 113/151: wip, gnunet, 2024/07/30
- [taler-exchange] 105/151: fix kyc trigger SQL logic, gnunet, 2024/07/30
- [taler-exchange] 110/151: add new CMDs for KYC info+start, gnunet, 2024/07/30
- [taler-exchange] 69/151: -towards form uploads (incomplete), gnunet, 2024/07/30
- [taler-exchange] 94/151: -work on tests, gnunet, 2024/07/30
- [taler-exchange] 28/151: -add kyc data back for lookup_transfer_by_deposit, gnunet, 2024/07/30
- [taler-exchange] 100/151: more parsing, config template, gnunet, 2024/07/30
- [taler-exchange] 99/151: parse more of check configuration, gnunet, 2024/07/30
- [taler-exchange] 129/151: -fix SQL bugs,
gnunet <=
- [taler-exchange] 120/151: -misc bugfixes, gnunet, 2024/07/30
- [taler-exchange] 121/151: first test passes, party, gnunet, 2024/07/30
- [taler-exchange] 143/151: investigate..., gnunet, 2024/07/30
- [taler-exchange] 141/151: -bugfixes, gnunet, 2024/07/30
- [taler-exchange] 147/151: doxygen fixes, gnunet, 2024/07/30
- [taler-exchange] 134/151: fix track transfer, gnunet, 2024/07/30
- [taler-exchange] 118/151: -fix FTBFS, gnunet, 2024/07/30
- [taler-exchange] 144/151: DCE, fix some doxygen issues, gnunet, 2024/07/30
- [taler-exchange] 123/151: -fix age withdraw test, gnunet, 2024/07/30
- [taler-exchange] 149/151: more work on AML tests, gnunet, 2024/07/30