Commit df3309a
committed
Fix SQLite compatibility for search-replace command
Two targeted fixes for SQLite compatibility:
1. Skip views detection on SQLite — the drop-in does not support
SHOW FULL TABLES, and WordPress on SQLite does not use views
2. Fall back to PHP processing on SQLite for serialized data
detection — SQLite lacks native REGEXP support
All other MySQL queries (DESCRIBE, SHOW CREATE TABLE, LIKE BINARY)
are left unchanged as the SQLite integration drop-in translates
them automatically.
Remove @skip-sqlite from 4 of 5 regex test scenarios. One scenario
(Logging with regex replace) remains skipped due to a pre-existing
difference in regex backreference behavior on SQLite.
Fixes #1901 parent 20351f6 commit df3309a
File tree
2 files changed
+22
-13
lines changed- features
- src
2 files changed
+22
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
226 | 225 | | |
227 | 226 | | |
228 | 227 | | |
| |||
962 | 961 | | |
963 | 962 | | |
964 | 963 | | |
| 964 | + | |
| 965 | + | |
965 | 966 | | |
966 | 967 | | |
967 | 968 | | |
| |||
1326 | 1327 | | |
1327 | 1328 | | |
1328 | 1329 | | |
1329 | | - | |
1330 | 1330 | | |
1331 | 1331 | | |
1332 | 1332 | | |
| |||
1338 | 1338 | | |
1339 | 1339 | | |
1340 | 1340 | | |
1341 | | - | |
1342 | 1341 | | |
1343 | 1342 | | |
1344 | 1343 | | |
| |||
1350 | 1349 | | |
1351 | 1350 | | |
1352 | 1351 | | |
1353 | | - | |
1354 | 1352 | | |
1355 | 1353 | | |
1356 | 1354 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
487 | 493 | | |
488 | 494 | | |
489 | 495 | | |
| |||
555 | 561 | | |
556 | 562 | | |
557 | 563 | | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
| 564 | + | |
| 565 | + | |
563 | 566 | | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
564 | 575 | | |
565 | 576 | | |
566 | 577 | | |
| |||
0 commit comments