1
0
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:
dan
2022-10-14 15:10:36 +00:00
parent 3e771c0f07
commit 2bc4a6cad0
4 changed files with 18 additions and 10 deletions

View File

@ -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