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: correctly handle the default ::fetch style for statements #46

Merged
merged 1 commit into from
Jun 27, 2024
Merged

fix: correctly handle the default ::fetch style for statements #46

merged 1 commit into from
Jun 27, 2024

Conversation

Kenneth-Sills
Copy link
Contributor

We've overridden the default value to our magic -123, which normally works, but if someone passes in PDO::FETCH_DEFAULT manually the method can't recognize it and throw an unimplemented error. This just makes sure the default is interpretted the same as -123, better matching the standard.

Added an appropriate test as well.

We've overridden the default value to our magic -123, which normally works,
but if someone passes in `PDO::FETCH_DEFAULT` manually the method can't
recognize it and throw an unimplemented error. This just makes sure the default
is interpretted the same as -123, better matching the standard.

Added an appropriate test as well.
@MelechMizrachi MelechMizrachi merged commit d781588 into vimeo:master Jun 27, 2024
2 checks passed
@MelechMizrachi
Copy link
Collaborator

Thanks for fixing this!

@MelechMizrachi
Copy link
Collaborator

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.

2 participants