Skip to content

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

2 participants