summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-02-07 16:18:34 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-02-07 16:18:34 +0100
commit61a19b4b4be9c2543623f9d1e2e69968fae93cce (patch)
treede7af7dc85680fd965d9d1a941fd1b15df8a8f4c
parent92246c3e8841978cb8f495c3e2da3deca19d7391 (diff)
downloadexchange-61a19b4b4be9c2543623f9d1e2e69968fae93cce.tar.gz
exchange-61a19b4b4be9c2543623f9d1e2e69968fae93cce.tar.bz2
exchange-61a19b4b4be9c2543623f9d1e2e69968fae93cce.zip
fix SQL statement after removing transaction_id
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index 0d731dfac..e47f2c964 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -951,8 +951,8 @@ postgres_prepare (PGconn *db_conn)
",wire"
") VALUES "
"($1, $2, $3, $4, $5, $6, $7, $8, $9, $10,"
- " $11, $12, $13);",
- 13, NULL);
+ " $11, $12, $12);",
+ 12, NULL);
/* Used in #postgres_insert_refund() to store refund information */
PREPARE ("insert_refund",