mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Fix a problem in the LIKE and GLOB operators that may occur when the character immediately following a "%" or "*" wildcard is U+80. Reported by [forum:61bf7ccbdf].
FossilOrigin-Name: 2da677c45b643482eec39e4db7079c772760bc966dc71bf6c01658cc468f5823
This commit is contained in:
@ -1006,4 +1006,12 @@ do_test like-2.126.3 {
|
||||
} {126}
|
||||
|
||||
|
||||
do_test like-3.1 {
|
||||
db eval "SELECT '\u01C0' LIKE '%\x80'"
|
||||
} {0}
|
||||
do_test like-3.2 {
|
||||
db eval "SELECT '\u0080' LIKE '%\x80'"
|
||||
} {1}
|
||||
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user