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

fix(installer): importing last chunk of SQL dump #31

Open
wants to merge 2 commits into
base: v0.12
Choose a base branch
from

Conversation

jdreesen
Copy link
Member

@jdreesen jdreesen commented Dec 4, 2024

The installer processes the SQL queries in chunks. There is a chance that the remainder chunk will contain zero queries and therefore will result in a PDO exception while trying to execute an empty statement.

This fix checks whether there are queries in the remainder chunk.

See: pimcore/pimcore#17889

The installer processes the SQL queries in chunks. There is a chance that the remainder chunk will contain zero queries and therefore will result in a PDO exception while trying to execute an empty statement.

This fix checks whether there are queries in the remainder chunk.
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