diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-01-18 12:08:53 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-02-07 23:48:45 +0100 |
commit | e0d46f96859b33b3f04791028e30bce4f0173567 (patch) | |
tree | 18478e55759cf318da746e64353183601dfb3899 /src/auditordb/pg_select_purse_expired.c | |
parent | b5de0afa73c0b8f7bcf988e2bc00f07f4f6cf42e (diff) | |
download | exchange-e0d46f96859b33b3f04791028e30bce4f0173567.tar.gz exchange-e0d46f96859b33b3f04791028e30bce4f0173567.tar.bz2 exchange-e0d46f96859b33b3f04791028e30bce4f0173567.zip |
auditordb tabularasa
Diffstat (limited to 'src/auditordb/pg_select_purse_expired.c')
-rw-r--r-- | src/auditordb/pg_select_purse_expired.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/auditordb/pg_select_purse_expired.c b/src/auditordb/pg_select_purse_expired.c index 95ba5ff37..77c6d3b26 100644 --- a/src/auditordb/pg_select_purse_expired.c +++ b/src/auditordb/pg_select_purse_expired.c @@ -109,7 +109,6 @@ purse_expired_cb (void *cls, enum GNUNET_DB_QueryStatus TAH_PG_select_purse_expired ( void *cls, - const struct TALER_MasterPublicKeyP *master_pub, TALER_AUDITORDB_ExpiredPurseCallback cb, void *cb_cls) { @@ -117,7 +116,6 @@ TAH_PG_select_purse_expired ( struct GNUNET_TIME_Timestamp now = GNUNET_TIME_timestamp_get (); struct GNUNET_PQ_QueryParam params[] = { - GNUNET_PQ_query_param_auto_from_type (master_pub), GNUNET_PQ_query_param_timestamp (&now), GNUNET_PQ_query_param_end }; @@ -135,8 +133,7 @@ TAH_PG_select_purse_expired ( ",expiration_date" ",balance" " FROM auditor_purses" - " WHERE master_pub=$1" - " AND expiration_date<$2;"); + " AND expiration_date<$1;"); qs = GNUNET_PQ_eval_prepared_multi_select (pg->conn, "auditor_select_expired_purses", params, |