summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------contrib/merchant-backoffice0
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c3
2 files changed, 1 insertions, 2 deletions
diff --git a/contrib/merchant-backoffice b/contrib/merchant-backoffice
-Subproject fe987187e178816d42ed12178d430c8771cb5a7
+Subproject 4320467db1392e5f48a4acd079f7e2a253cf998
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index 8671a69f..0001a8e6 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -1331,7 +1331,7 @@ static void
postgres_expire_locks (void *cls)
{
struct PostgresClosure *pg = cls;
- struct GNUNET_TIME_Absolute now;
+ struct GNUNET_TIME_Absolute now = GNUNET_TIME_absolute_get ();
struct GNUNET_PQ_QueryParam params[] = {
GNUNET_PQ_query_param_absolute_time (&now),
GNUNET_PQ_query_param_end
@@ -1340,7 +1340,6 @@ postgres_expire_locks (void *cls)
enum GNUNET_DB_QueryStatus qs2;
check_connection (pg);
- now = GNUNET_TIME_absolute_get ();
qs1 = GNUNET_PQ_eval_prepared_non_select (pg->conn,
"unlock_products",
params);