diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2023-03-31 13:50:32 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2023-03-31 13:50:32 +0200 |
commit | 6eed8917c37ad047ee95e964cd516d82aacac473 (patch) | |
tree | 5dedf24afa822f80325abbd407275f9de840b302 /src/exchangedb/pg_insert_reserve_closed.c | |
parent | 9cce35d27027e1e72e44ac8965ae687d75f1c93d (diff) | |
download | exchange-6eed8917c37ad047ee95e964cd516d82aacac473.tar.xz |
fix exchangedb build errors
Diffstat (limited to 'src/exchangedb/pg_insert_reserve_closed.c')
-rw-r--r-- | src/exchangedb/pg_insert_reserve_closed.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/exchangedb/pg_insert_reserve_closed.c b/src/exchangedb/pg_insert_reserve_closed.c index d17c37edc..963a38226 100644 --- a/src/exchangedb/pg_insert_reserve_closed.c +++ b/src/exchangedb/pg_insert_reserve_closed.c @@ -57,20 +57,20 @@ TEH_PG_insert_reserve_closed ( GNUNET_PQ_query_param_end }; - /* Used in #postgres_insert_reserve_closed() */ + /* Used in #postgres_insert_reserve_closed() */ PREPARE (pg, - "reserves_close_insert", - "INSERT INTO reserves_close " - "(reserve_pub" - ",execution_date" - ",wtid" - ",wire_target_h_payto" - ",amount_val" - ",amount_frac" - ",closing_fee_val" - ",closing_fee_frac" - ",close_request_row" - ") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9);"); + "reserves_close_insert", + "INSERT INTO reserves_close " + "(reserve_pub" + ",execution_date" + ",wtid" + ",wire_target_h_payto" + ",amount_val" + ",amount_frac" + ",closing_fee_val" + ",closing_fee_frac" + ",close_request_row" + ") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9);"); qs = GNUNET_PQ_eval_prepared_non_select (pg->conn, "reserves_close_insert", @@ -83,7 +83,7 @@ TEH_PG_insert_reserve_closed ( reserve.pub = *reserve_pub; if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT != (qs = TEH_PG_reserves_get (cls, - &reserve))) + &reserve))) { /* Existence should have been checked before we got here... */ GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qs); @@ -110,5 +110,5 @@ TEH_PG_insert_reserve_closed ( GNUNET_break (TALER_AAR_RESULT_ZERO == ret); } return TEH_PG_reserves_update (cls, - &reserve); + &reserve); } |