diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-08-26 00:21:15 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-08-26 00:21:15 +0200 |
commit | a23cb140c563860041d930efd481fb3feade9acc (patch) | |
tree | cb77bef4551eee7804788cfc5e3356a077471804 | |
parent | 4dd2fd82dd8dc24dd53f33cb3d48da175ed90108 (diff) | |
download | merchant-a23cb140c563860041d930efd481fb3feade9acc.tar.gz merchant-a23cb140c563860041d930efd481fb3feade9acc.tar.bz2 merchant-a23cb140c563860041d930efd481fb3feade9acc.zip |
oops, call insert_session_info prepared statement correctly
-rw-r--r-- | src/backenddb/plugin_merchantdb_postgres.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c index 1b4828e6..e550bef9 100644 --- a/src/backenddb/plugin_merchantdb_postgres.c +++ b/src/backenddb/plugin_merchantdb_postgres.c @@ -1197,8 +1197,8 @@ postgres_find_session_info (void *cls, struct PostgresClosure *pg = cls; struct GNUNET_PQ_QueryParam params[] = { - GNUNET_PQ_query_param_auto_from_type (session_id), GNUNET_PQ_query_param_auto_from_type (resource_url), + GNUNET_PQ_query_param_auto_from_type (session_id), GNUNET_PQ_query_param_auto_from_type (merchant_pub), GNUNET_PQ_query_param_end }; @@ -1210,7 +1210,7 @@ postgres_find_session_info (void *cls, // We don't clean up the result spec since we want // to keep around the memory for order_id. return GNUNET_PQ_eval_prepared_singleton_select (pg->conn, - "find_contract_terms_history", + "find_session_info", params, rs); } |