diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-07-16 11:25:22 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-07-16 11:25:22 +0200 |
commit | ec03f262b650638ff6dd8ec89c382b958b256c1b (patch) | |
tree | 796211b73c56df3c06cf782d135a9982b8325716 /src/exchangedb/pg_insert_refund.c | |
parent | 942dd737949a62ef12979f813ff4eb1548ad076b (diff) | |
download | exchange-ec03f262b650638ff6dd8ec89c382b958b256c1b.tar.xz |
fix taler-aggregator-benchmark
Diffstat (limited to 'src/exchangedb/pg_insert_refund.c')
-rw-r--r-- | src/exchangedb/pg_insert_refund.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/exchangedb/pg_insert_refund.c b/src/exchangedb/pg_insert_refund.c index 8f9466575..020750870 100644 --- a/src/exchangedb/pg_insert_refund.c +++ b/src/exchangedb/pg_insert_refund.c @@ -45,16 +45,15 @@ TEH_PG_insert_refund (void *cls, TALER_amount_cmp_currency (&refund->details.refund_amount, &refund->details.refund_fee)); - /* Used in #postgres_insert_refund() to store refund information */ PREPARE (pg, "insert_refund", "INSERT INTO refunds " - "(coin_pub " + "(coin_pub" ",deposit_serial_id" - ",merchant_sig " - ",rtransaction_id " - ",amount_with_fee_val " - ",amount_with_fee_frac " + ",merchant_sig" + ",rtransaction_id" + ",amount_with_fee_val" + ",amount_with_fee_frac" ") SELECT $1, deposit_serial_id, $3, $5, $6, $7" " FROM deposits" " WHERE coin_pub=$1" |