1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Merge the readonly-ignore-wal-jrnl feature into a sub-branch of reuse-schema.

FossilOrigin-Name: 67087fe433ff1d1bdae913becd908658cc03d61556c408091b640d0161a5edca
This commit is contained in:
drh
2024-10-30 14:24:15 +00:00
82 changed files with 1739 additions and 15947 deletions

View File

@@ -663,7 +663,9 @@ if {[llength $argv]>=1
set SQL {SELECT displaytype, displayname, state FROM jobs}
if {$pattern!=""} {
regsub -all {[^a-zA-Z0-9*.-/]} $pattern ? pattern
append SQL " WHERE displayname GLOB '*$pattern*'"
set pattern [string tolower $pattern]
append SQL \
" WHERE lower(concat(state,' ',displaytype,' ',displayname)) GLOB '*$pattern*'"
}
append SQL " ORDER BY starttime"