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:
@@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user