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

Update the export command to use a PHP8-safe PDO transaction commit path #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mcgrogan91
Copy link
Collaborator

PHP8 updated commit to throw an exception if the PDO object knows it's not in a transaction anymore while Doctrine believes that it is. Export is often running DDL commands which cause MySQL to auto-commit transactions, leading to this mismatched state. Add a helper class to support only committing if it's safe to do so

PHP8 updated commit to throw an exception if the PDO object knows it's not in a transaction anymore while Doctrine believes that it is. Export is often running DDL commands which cause MySQL to auto-commit transactions, leading to this mismatched state. Add a helper class to support only committing if it's safe to do so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant