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

Deallocate prepared statements in destructor #5893

Merged
merged 1 commit into from
Feb 2, 2023

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Feb 2, 2023

Q A
Type improvement
Fixed issues Follows #5880

Summary

We currently don't deallocate prepared statements. While this is usually not a big deal, this might become a problem on long running processes or batch scripts that use a lot of prepared statements.

Statements are automatically deallocated when the connection closes, but I guess we shouldn't clutter the connection with statements we will never execute again.

@derrabus derrabus merged commit ce82b06 into doctrine:3.6.x Feb 2, 2023
@derrabus derrabus deleted the bugfix/deallocate-statements branch February 2, 2023 14:20
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants