exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 90eb0958ecc938c42c17e3fdc34fb23ceb79abc4
parent 63bb33a5bd01a459d2a8996119346dad34209df4
Author: Florian Dold <florian@dold.me>
Date:   Sun, 10 Nov 2024 02:52:44 +0100

-fix query

Diffstat:
Msrc/exchangedb/exchange_do_insert_successor_measure.sql | 3++-
Msrc/exchangedb/pg_insert_successor_measure.c | 1+
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/exchangedb/exchange_do_insert_successor_measure.sql b/src/exchangedb/exchange_do_insert_successor_measure.sql @@ -23,6 +23,7 @@ CREATE FUNCTION exchange_do_insert_successor_measure( IN in_jmeasures TEXT, -- can be NULL OUT out_last_date INT8, OUT out_account_unknown BOOLEAN, + OUT out_legitimization_measure_serial_id INT8 ) LANGUAGE plpgsql AS $$ @@ -152,5 +153,5 @@ INSERT INTO legitimization_outcomes END $$; -COMMENT ON FUNCTION exchange_do_insert_successor_measure(BYTEA, INT8, INT8, TEXT, TEXT, INT8) +COMMENT ON FUNCTION exchange_do_insert_successor_measure(BYTEA, INT8, INT8, TEXT, TEXT) IS 'Checks whether the AML officer is eligible to make AML decisions and if so inserts the decision into the table'; diff --git a/src/exchangedb/pg_insert_successor_measure.c b/src/exchangedb/pg_insert_successor_measure.c @@ -76,6 +76,7 @@ TEH_PG_insert_successor_measure ( "SELECT" ",out_account_unknown" ",out_last_date" + ",out_legitimization_measure_serial_id" " FROM exchange_do_insert_successor_measure" "($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14);"); qs = GNUNET_PQ_eval_prepared_singleton_select (pg->conn,