diff options
Diffstat (limited to 'src/auditordb/pg_insert_reserve_balance_summary_wrong_inconsistency.c')
-rw-r--r-- | src/auditordb/pg_insert_reserve_balance_summary_wrong_inconsistency.c | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/src/auditordb/pg_insert_reserve_balance_summary_wrong_inconsistency.c b/src/auditordb/pg_insert_reserve_balance_summary_wrong_inconsistency.c index 34419d062..0e9d7036a 100644 --- a/src/auditordb/pg_insert_reserve_balance_summary_wrong_inconsistency.c +++ b/src/auditordb/pg_insert_reserve_balance_summary_wrong_inconsistency.c @@ -1,6 +1,3 @@ - - - /* This file is part of TALER Copyright (C) 2024 Taler Systems SA @@ -32,10 +29,10 @@ TAH_PG_insert_reserve_balance_summary_wrong_inconsistency ( struct PostgresClosure *pg = cls; struct GNUNET_PQ_QueryParam params[] = { - GNUNET_PQ_query_param_auto_from_type(&dc->reserve_pub), -TALER_PQ_query_param_amount(pg->conn, &dc->exchange_amount), -TALER_PQ_query_param_amount(pg->conn, &dc->auditor_amount), -GNUNET_PQ_query_param_bool(dc->suppressed), + GNUNET_PQ_query_param_auto_from_type (&dc->reserve_pub), + TALER_PQ_query_param_amount (pg->conn, &dc->exchange_amount), + TALER_PQ_query_param_amount (pg->conn, &dc->auditor_amount), + GNUNET_PQ_query_param_bool (dc->suppressed), GNUNET_PQ_query_param_end @@ -44,16 +41,13 @@ GNUNET_PQ_query_param_bool(dc->suppressed), PREPARE (pg, "auditor_reserve_balance_summary_wrong_inconsistency_insert", "INSERT INTO auditor_reserve_balance_summary_wrong_inconsistency " - "( row_id," -" reserve_pub," -" exchange_amount," -" auditor_amount," -" suppressed" -") VALUES ($1,$2,$3,$4,$5);" + "( reserve_pub," + " exchange_amount," + " auditor_amount," + " suppressed" + ") VALUES ($1,$2,$3,$4);" ); return GNUNET_PQ_eval_prepared_non_select (pg->conn, "auditor_reserve_balance_summary_wrong_inconsistency_insert", params); } - -
\ No newline at end of file |