Skip to content

Commit

Permalink
Drop autocommit execution option: it's a noop + it won't work in SA2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Dec 12, 2023
1 parent 58843c5 commit 4fcf474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5895,7 +5895,7 @@ def update_parent_folder_update_times(self):
WHERE exists (SELECT 1 FROM parent_folders_of
WHERE library_folder.id = parent_folders_of.folder_id)
"""
).execution_options(autocommit=True)
)

with object_session(self).bind.connect() as conn, conn.begin():
ret = conn.execute(sql, {"library_dataset_id": ldda.library_dataset_id, "ldda_id": ldda.id})
Expand Down

0 comments on commit 4fcf474

Please sign in to comment.