summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-02-19 00:20:57 +0100
committerChristian Grothoff <christian@grothoff.org>2021-02-19 00:20:57 +0100
commita1265a059aa048a539d4cc0ea3e072ef5f98f0c1 (patch)
tree2b51ccb572615ff63d60b27865128ee56935dfa0 /src/backend
parentc3b87356b2f31f63bb7dfa84cb7a3361fc55debc (diff)
downloadmerchant-a1265a059aa048a539d4cc0ea3e072ef5f98f0c1.tar.gz
merchant-a1265a059aa048a539d4cc0ea3e072ef5f98f0c1.tar.bz2
merchant-a1265a059aa048a539d4cc0ea3e072ef5f98f0c1.zip
remove bogus UNIQUE constraint (#6758)
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/taler-merchant-httpd_private-post-instances.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-instances.c b/src/backend/taler-merchant-httpd_private-post-instances.c
index 79c78f38..c4d1d617 100644
--- a/src/backend/taler-merchant-httpd_private-post-instances.c
+++ b/src/backend/taler-merchant-httpd_private-post-instances.c
@@ -405,6 +405,7 @@ TMH_private_post_instances (const struct TMH_RequestHandler *rh,
&mi->settings);
if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT != qs)
{
+ GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qs);
TMH_db->rollback (TMH_db->cls);
goto retry;
}
@@ -435,6 +436,7 @@ TMH_private_post_instances (const struct TMH_RequestHandler *rh,
}
if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT != qs)
{
+ GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qs);
TMH_db->rollback (TMH_db->cls);
goto retry;
}