From e0d46f96859b33b3f04791028e30bce4f0173567 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 18 Jan 2024 12:08:53 +0100 Subject: auditordb tabularasa --- src/auditordb/pg_delete_purse_info.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/auditordb/pg_delete_purse_info.c') diff --git a/src/auditordb/pg_delete_purse_info.c b/src/auditordb/pg_delete_purse_info.c index cd390d0ca..8fa77ba46 100644 --- a/src/auditordb/pg_delete_purse_info.c +++ b/src/auditordb/pg_delete_purse_info.c @@ -29,21 +29,18 @@ enum GNUNET_DB_QueryStatus TAH_PG_delete_purse_info ( void *cls, - const struct TALER_PurseContractPublicKeyP *purse_pub, - const struct TALER_MasterPublicKeyP *master_pub) + const struct TALER_PurseContractPublicKeyP *purse_pub) { struct PostgresClosure *pg = cls; struct GNUNET_PQ_QueryParam params[] = { GNUNET_PQ_query_param_auto_from_type (purse_pub), - GNUNET_PQ_query_param_auto_from_type (master_pub), GNUNET_PQ_query_param_end }; PREPARE (pg, "auditor_purses_delete", "DELETE FROM auditor_purses " - " WHERE purse_pub=$1" - " AND master_pub=$2;"); + " WHERE purse_pub=$1"); return GNUNET_PQ_eval_prepared_non_select (pg->conn, "auditor_purses_delete", params); -- cgit v1.2.3