From: Tom Clegg Date: Mon, 21 Nov 2022 14:20:31 +0000 (-0500) Subject: 19698: Remove redundant savepoint. X-Git-Tag: 2.5.0~31^2~1 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/5e3a6c32deb39429cd85898b63562b5ae49a9524 19698: Remove redundant savepoint. The existing savepoint is still valid here. Creating another with the same name is wasteful. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- diff --git a/services/api/app/models/arvados_model.rb b/services/api/app/models/arvados_model.rb index 9c03c03a60..a369292fb3 100644 --- a/services/api/app/models/arvados_model.rb +++ b/services/api/app/models/arvados_model.rb @@ -520,7 +520,6 @@ class ArvadosModel < ApplicationRecord end end - conn.exec_query 'SAVEPOINT save_with_unique_name' retry end end