diff options
author | dan <Dan Kennedy> | 2022-10-14 15:10:36 +0000 |
---|---|---|
committer | dan <Dan Kennedy> | 2022-10-14 15:10:36 +0000 |
commit | 2bc4a6cad0457fc07138f8c27d0190f3acb33f72 (patch) | |
tree | 9b16990abefa80ed1f2e11daf80aa32abf0a34fb /src/func.c | |
parent | 3e771c0f077a6a9fad6e560559edb3f501c3892e (diff) | |
download | sqlite-2bc4a6cad0457fc07138f8c27d0190f3acb33f72.tar.gz sqlite-2bc4a6cad0457fc07138f8c27d0190f3acb33f72.zip |
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
Diffstat (limited to 'src/func.c')
-rw-r--r-- | src/func.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/func.c b/src/func.c index ec50a17a3..06581cbe3 100644 --- a/src/func.c +++ b/src/func.c @@ -740,7 +740,7 @@ static int patternCompare( ** c but in the other case and search the input string for either ** c or cx. */ - if( c<=0x80 ){ + if( c<0x80 ){ char zStop[3]; int bMatch; if( noCase ){ |