aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_insert_refund.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchangedb/pg_insert_refund.c')
-rw-r--r--src/exchangedb/pg_insert_refund.c11
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"