aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_update_kyc_process_by_row.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-12-27 21:18:12 +0100
committerChristian Grothoff <christian@grothoff.org>2022-12-27 21:18:12 +0100
commit787c56e7e95744852594fc6ad08ae9368b79723a (patch)
tree64d0180fcfdcef6569297e3718b6b5143cea667d /src/exchangedb/pg_update_kyc_process_by_row.c
parent26624bed95aaa29dcea00095e167f3d9ec0a129e (diff)
downloadexchange-787c56e7e95744852594fc6ad08ae9368b79723a.tar.xz
-add do_purse_delete API
Diffstat (limited to 'src/exchangedb/pg_update_kyc_process_by_row.c')
-rw-r--r--src/exchangedb/pg_update_kyc_process_by_row.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/exchangedb/pg_update_kyc_process_by_row.c b/src/exchangedb/pg_update_kyc_process_by_row.c
index b15472839..4ae44ce53 100644
--- a/src/exchangedb/pg_update_kyc_process_by_row.c
+++ b/src/exchangedb/pg_update_kyc_process_by_row.c
@@ -51,6 +51,16 @@ TEH_PG_update_kyc_process_by_row (
};
enum GNUNET_DB_QueryStatus qs;
+ PREPARE (pg,
+ "update_legitimization_process",
+ "UPDATE legitimization_processes"
+ " SET provider_user_id=$4"
+ " ,provider_legitimization_id=$5"
+ " ,expiration_time=GREATEST(expiration_time,$6)"
+ " WHERE"
+ " h_payto=$3"
+ " AND legitimization_process_serial_id=$1"
+ " AND provider_section=$2;");
qs = GNUNET_PQ_eval_prepared_non_select (
pg->conn,
"update_legitimization_process",