πŸ’¦ FULL SET: WordPress/sqlite database integration/pull/ - Uncensored 2025

Skip to content

Conversation

@kozer

This PR modifies the SQLite database integration plugin ensuring LIKE BINARY queries are supported.

The translator has been updated to utilize the GLOB SQLite function to support the LIKE BINARY clause in Sqlite, ensuring it respects case sensitivity.

Example query

MySQL

SELECT * FROM _tmp_table WHERE name LIKE BINARY 'f%'

SQLite

SELECT * FROM _tmp_table WHERE name GLOB 'f*'

aristath and others added 3 commits July 29, 2024 11:55
Version 2.1.13

---------

Co-authored-by: Jeroen P <[email protected]>
Co-authored-by: Rostislav WolnΓ½ <[email protected]>
@kozer kozer marked this pull request as draft August 7, 2024 16:39
@kozer kozer mentioned this pull request Aug 8, 2024
1 task
@kozer kozer marked this pull request as ready for review August 8, 2024 06:12
jeroenpf
@jeroenpf

@aristath - could you have a look at this PR? The LIKE BINARY queries are used in the wp cli search-replace commands so it would be good to include this fix.

aristath
@aristath aristath merged commit 46528e8 into WordPress:develop Aug 14, 2024
@kozer

@aristath , can we deploy a new version so we can use it in studio? Is it possible?
Thank you very much

@aristath

Done.

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.

3 participants