Commit aadf8ba
committed
Remove PRAGMA case_sensitive_like — unsupported by SQLite drop-in
The SQLite integration drop-in intercepts all $wpdb->query() calls
and translates MySQL to SQLite. PRAGMA is not a MySQL statement, so
the translator rejects it with "Unknown query type: PRAGMA".
Removing this is safe: on SQLite, all columns already use the PHP
processing path (due to the REGEXP fallback), and PHP's str_replace
handles case-sensitivity correctly regardless of LIKE behavior.1 parent 7122c44 commit aadf8ba
1 file changed
+0
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | 295 | | |
301 | 296 | | |
302 | 297 | | |
| |||
0 commit comments