summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-26 01:00:43 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-26 01:00:43 +0200
commit1d731a7200f17e2ad2d7406e0e0828be9c69db26 (patch)
tree5a7cce4d6fa7ac7433554c19289bf71d15181c46
parenta23cb140c563860041d930efd481fb3feade9acc (diff)
downloadmerchant-1d731a7200f17e2ad2d7406e0e0828be9c69db26.tar.gz
merchant-1d731a7200f17e2ad2d7406e0e0828be9c69db26.tar.bz2
merchant-1d731a7200f17e2ad2d7406e0e0828be9c69db26.zip
fix prepared statement
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index e550bef9..7b3f2c3f 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -346,7 +346,7 @@ postgres_initialize (void *cls)
",timestamp)"
" VALUES "
"($1, $2, $3, $4, $5)",
- 4),
+ 5),
GNUNET_PQ_make_prepare ("mark_proposal_paid",
"UPDATE merchant_contract_terms SET"
" paid=TRUE, last_session_id=$3"