aboutsummaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_db.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-03-17 14:16:19 +0100
committerChristian Grothoff <grothoff@gnunet.org>2022-03-17 14:16:34 +0100
commit12809b28ec6fb7a9b5a846faa9c652f7c3fd63e1 (patch)
treee05399cfda8d2ae724120e7fb6c7686ea713f601 /src/exchange/taler-exchange-httpd_db.c
parent63879d9d20986e66e847f1e19b16f5f2a60ee469 (diff)
-misc fixes
Diffstat (limited to 'src/exchange/taler-exchange-httpd_db.c')
-rw-r--r--src/exchange/taler-exchange-httpd_db.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_db.c b/src/exchange/taler-exchange-httpd_db.c
index da19b715..f736a508 100644
--- a/src/exchange/taler-exchange-httpd_db.c
+++ b/src/exchange/taler-exchange-httpd_db.c
@@ -149,6 +149,7 @@ TEH_DB_run_transaction (struct MHD_Connection *connection,
return GNUNET_OK;
TEH_METRICS_num_conflict[mt]++;
}
+ TEH_plugin->rollback (TEH_plugin->cls);
TALER_LOG_ERROR ("Transaction `%s' commit failed %u times\n",
name,
MAX_TRANSACTION_COMMIT_RETRIES);