commit abeb285227b00a88ed5caa66ae6ffb880f5d6d17
parent e97e00a89798b6b93a009e2d52216f64b3065c49
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 31 May 2026 15:45:35 +0200
add missing RETURNING, but probably we should get rid of the entire logic soon
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/exchangedb/add_policy_fulfillment_proof.c b/src/exchangedb/add_policy_fulfillment_proof.c
@@ -101,6 +101,7 @@ TALER_EXCHANGEDB_add_policy_fulfillment_proof (
",h_fulfillment_proof"
",policy_hash_codes"
") VALUES ($1, $2::TEXT::JSON, $3, $4)"
+ " RETURNING fulfillment_id"
" ON CONFLICT DO NOTHING;");
qs = GNUNET_PQ_eval_prepared_singleton_select (pg->conn,
"insert_proof_into_policy_fulfillments",