summaryrefslogtreecommitdiff
path: root/src/auditordb/plugin_auditordb_postgres.c
diff options
context:
space:
mode:
authortg(x) <*@tg-x.net>2016-11-04 20:37:53 +0100
committertg(x) <*@tg-x.net>2016-11-04 20:37:53 +0100
commit21be6db31856ca33b771a12e2a7448d8c13b590e (patch)
tree640f2352dbebba5dbbfd232dd12e3faa566ecb64 /src/auditordb/plugin_auditordb_postgres.c
parent5b8438d7e71a8d201be759fa525acafc147182eb (diff)
downloadexchange-21be6db31856ca33b771a12e2a7448d8c13b590e.tar.gz
exchange-21be6db31856ca33b771a12e2a7448d8c13b590e.tar.bz2
exchange-21be6db31856ca33b771a12e2a7448d8c13b590e.zip
auditordb postgres plugin: fix query param
Diffstat (limited to 'src/auditordb/plugin_auditordb_postgres.c')
-rw-r--r--src/auditordb/plugin_auditordb_postgres.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c
index c21a45c1..527cc80e 100644
--- a/src/auditordb/plugin_auditordb_postgres.c
+++ b/src/auditordb/plugin_auditordb_postgres.c
@@ -2698,7 +2698,6 @@ postgres_insert_predicted_result (void *cls,
struct GNUNET_PQ_QueryParam params[] = {
GNUNET_PQ_query_param_auto_from_type (master_pub),
-
TALER_PQ_query_param_amount (balance),
GNUNET_PQ_query_param_end
@@ -2741,6 +2740,9 @@ postgres_update_predicted_result (void *cls,
int ret;
struct GNUNET_PQ_QueryParam params[] = {
+ TALER_PQ_query_param_amount (balance),
+ GNUNET_PQ_query_param_auto_from_type (master_pub),
+
GNUNET_PQ_query_param_end
};