19698: Remove redundant savepoint.
authorTom Clegg <tom@curii.com>
Mon, 21 Nov 2022 14:20:31 +0000 (09:20 -0500)
committerTom Clegg <tom@curii.com>
Mon, 21 Nov 2022 14:20:31 +0000 (09:20 -0500)
The existing savepoint is still valid here.  Creating another with the
same name is wasteful.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

services/api/app/models/arvados_model.rb

index 9c03c03a60f2265f659681d340a9256bf733094a..a369292fb38c09a417b32bd3d33ea165319de647 100644 (file)
@@ -520,7 +520,6 @@ class ArvadosModel < ApplicationRecord
           end
         end
 
-        conn.exec_query 'SAVEPOINT save_with_unique_name'
         retry
       end
     end