aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchangedb')
-rw-r--r--src/exchangedb/exchange_do_insert_successor_measure.sql3
-rw-r--r--src/exchangedb/pg_insert_successor_measure.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/exchangedb/exchange_do_insert_successor_measure.sql b/src/exchangedb/exchange_do_insert_successor_measure.sql
index a98a6c4a8..d96af2927 100644
--- 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
index 0be070bdd..099360005 100644
--- 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,