Skip to content

Add support for getNativeConnection #624

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

Closed
wants to merge 1 commit into from
Closed

Add support for getNativeConnection #624

wants to merge 1 commit into from

Conversation

chindit
Copy link

@chindit chindit commented May 5, 2022

Add support for method getNativeConnection

This method, present in Doctrine/dbal/src/Driver/PDO/Connection.php:128 is used by Doctrine when using a PostgreSQL database.

Without it, the bundle crashes with this error:

The driver connection Sentry\SentryBundle\Tracing\Doctrine\DBAL\
TracingServerInfoAwareDriverConnection does not support accessing the native connection.

So, I added a simple wrapper to allow Doctrine to access the method.

By submitting this pull request, I confirm that Sentry can use, modify, copy, and redistribute this contribution, under Sentry's choice of terms.

@chindit
Copy link
Author

chindit commented May 5, 2022

Auto-closed. Duplicate of #617.

Sad end :(

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