-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: correctly handle the default
::fetch
style for statements
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.
- Loading branch information
1 parent
c438184
commit c346b8f
Showing
2 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters