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 decoration of the Doctrine DBAL connection when it implemented the ServerInfoAwareConnection interface #567

Merged

Conversation

ste93cry
Copy link
Collaborator

@ste93cry ste93cry commented Oct 16, 2021

This solves #488 (comment): while instrumenting the Doctrine DBAL connection we weren't mirroring whether the original connection had implemented the ServerInfoAwareConnection interface, causing issues with instanceof checks

@ste93cry ste93cry added this to the 4.2 milestone Oct 16, 2021
@ste93cry ste93cry requested a review from Jean85 October 16, 2021 22:57
@ste93cry ste93cry force-pushed the fix/missing-wrapping-for-server-info-aware-connection branch 5 times, most recently from a1db4ac to 376a199 Compare October 17, 2021 00:15
@ste93cry
Copy link
Collaborator Author

@fritzmg would you be so gentle to try this out and see if it works?

@fritzmg
Copy link

fritzmg commented Oct 18, 2021

@fritzmg would you be so gentle to try this out and see if it works?

Yes, looks like this fixes the automatic server version detection, as far as I have tested 👍 🙂

@ste93cry ste93cry force-pushed the fix/missing-wrapping-for-server-info-aware-connection branch from 376a199 to 5b8ffff Compare October 19, 2021 21:01
@ste93cry ste93cry merged commit f3594df into master Oct 19, 2021
@ste93cry ste93cry deleted the fix/missing-wrapping-for-server-info-aware-connection branch October 19, 2021 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants