projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
924f8f6
)
19698: Remove redundant savepoint.
author
Tom Clegg <tom@curii.com>
Mon, 21 Nov 2022 14:20:31 +0000
(09:20 -0500)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/services/api/app/models/arvados_model.rb
b/services/api/app/models/arvados_model.rb
index 9c03c03a60f2265f659681d340a9256bf733094a..a369292fb38c09a417b32bd3d33ea165319de647 100644
(file)
--- 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