Skip to content

Emulate WordPress SQL mode compat hack #169

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

Merged
merged 2 commits into from
Apr 17, 2020
Merged

Conversation

schlessera
Copy link
Member

This prepends a SELECT statement to each query that goes directly through the mysql binary (instead of the WPDB abstraction) to set the SQL mode to a state compatible with WordPress Core behavior.

Fixes #168

@schlessera schlessera marked this pull request as ready for review April 17, 2020 05:00
@schlessera schlessera requested a review from a team as a code owner April 17, 2020 05:00
@schlessera schlessera added this to the 2.0.7 milestone Apr 17, 2020
@schlessera schlessera merged commit 9bbc2cf into master Apr 17, 2020
@schlessera schlessera deleted the 168-adapt-sql-mode branch April 17, 2020 05:01
danielbachhuber pushed a commit that referenced this pull request Nov 18, 2022
Emulate WordPress SQL mode compat hack
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.

Adapt SQL mode to account for WordPress incompatibilities
1 participant