Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable27] fix(mimetype): Fix aborted transaction on PostgreSQL when storing mimetype #40461

Merged
merged 2 commits into from Sep 17, 2023

Conversation

backportbot-nextcloud[bot]
Copy link

Backport of #40203

Fixes #40064.

This could be fixed by adding a rollback and starting a new transaction
before the SELECT query, but in this case that would have the same
effect as not using one.
See https://dev.mysql.com/doc/refman/8.0/en/innodb-autocommit-commit-rollback.html
and https://www.postgresql.org/docs/7.1/sql-begin.html#R1-SQL-BEGIN-1

Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
@szaimen szaimen merged commit 91a7538 into stable27 Sep 17, 2023
37 checks passed
@szaimen szaimen deleted the backport/40203/stable27 branch September 17, 2023 15:18
@blizzz blizzz mentioned this pull request Sep 20, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants