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_insert_historic_denom_revenue.c | |
parent | b5de0afa73c0b8f7bcf988e2bc00f07f4f6cf42e (diff) | |
download | exchange-e0d46f96859b33b3f04791028e30bce4f0173567.tar.gz exchange-e0d46f96859b33b3f04791028e30bce4f0173567.tar.bz2 exchange-e0d46f96859b33b3f04791028e30bce4f0173567.zip |
auditordb tabularasa
Diffstat (limited to 'src/auditordb/pg_insert_historic_denom_revenue.c')
-rw-r--r-- | src/auditordb/pg_insert_historic_denom_revenue.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/auditordb/pg_insert_historic_denom_revenue.c b/src/auditordb/pg_insert_historic_denom_revenue.c index bcafe068a..2c3dd44cc 100644 --- a/src/auditordb/pg_insert_historic_denom_revenue.c +++ b/src/auditordb/pg_insert_historic_denom_revenue.c @@ -29,7 +29,6 @@ enum GNUNET_DB_QueryStatus TAH_PG_insert_historic_denom_revenue ( void *cls, - const struct TALER_MasterPublicKeyP *master_pub, const struct TALER_DenominationHashP *denom_pub_hash, struct GNUNET_TIME_Timestamp revenue_timestamp, const struct TALER_Amount *revenue_balance, @@ -37,7 +36,6 @@ TAH_PG_insert_historic_denom_revenue ( { struct PostgresClosure *pg = cls; struct GNUNET_PQ_QueryParam params[] = { - GNUNET_PQ_query_param_auto_from_type (master_pub), GNUNET_PQ_query_param_auto_from_type (denom_pub_hash), GNUNET_PQ_query_param_timestamp (&revenue_timestamp), TALER_PQ_query_param_amount (pg->conn, @@ -50,12 +48,11 @@ TAH_PG_insert_historic_denom_revenue ( PREPARE (pg, "auditor_historic_denomination_revenue_insert", "INSERT INTO auditor_historic_denomination_revenue" - "(master_pub" - ",denom_pub_hash" + "(denom_pub_hash" ",revenue_timestamp" ",revenue_balance" ",loss_balance" - ") VALUES ($1,$2,$3,$4,$5);"); + ") VALUES ($1,$2,$3,$4);"); return GNUNET_PQ_eval_prepared_non_select (pg->conn, "auditor_historic_denomination_revenue_insert", params); |