-
Notifications
You must be signed in to change notification settings - Fork 54
PDO API foundations #291
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
Open
JanJakes
wants to merge
23
commits into
develop
Choose a base branch
from
pdo-api
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
PDO API foundations #291
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
011a628
Make WP_PDO_MySQL_On_SQLite extend PDO, add a dummy WP_PDO_Synthetic_…
JanJakes d47bb69
Implement PDO::exec() API
JanJakes e56b913
Implement and use PDOStatement fetch() and fetchAll() with basic fetc…
JanJakes 6eadd3d
Implement PDO and PDOStatement getAttribute() and setAttribute()
JanJakes 5c1b7b7
Use the PHP default for PDO::ATTR_STRINGIFY_FETCHES
JanJakes 220c1e2
Add a fix for PDO::ATTR_STRINGIFY_FETCHES=false with PHP < 8.1
JanJakes 011d091
Implement PDOStatement::setFetchMode()
JanJakes 1da7bac
Respect PDO::query() fetch mode arguments
JanJakes 3e541a0
Add comment explaining PDO attribute default
JanJakes caf76e8
Support whitespace in PDO DSN as per PHP PDO
JanJakes 0859d00
Support semicolon quoting in PDO DSN
JanJakes 06f5681
Document PDO fetch modes
JanJakes ba5b0ce
Use PDO SQLite statement as a source for MySQL proxy statement
JanJakes 2d28a4e
Fix test assertions for PDO::FETCH_NAMED
JanJakes 90f96ef
Address differences between PDO on PHP < 8.1 and PDO on PHP >= 8.1
JanJakes 717a3c8
Add support for PDO::ATTR_DEFAULT_FETCH_MODE, simplify attribute hand…
JanJakes 5da4935
Fix PDO compatibility issues with older PHP versions
JanJakes f7248a3
Use SQLite query PDO statement as a proxy statement base when possible
JanJakes b636824
Improve DNS parsing by correctly handling "\0" bytes
JanJakes 3f9c967
Improve DSN whitespace parsing
JanJakes 3c8543b
Add support for FOUND_ROWS() without SQL_CALC_FOUND_ROWS
JanJakes 722d119
Fix typo in comment
JanJakes 4215423
Improve comments
JanJakes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.