aboutsummaryrefslogtreecommitdiff
path: root/src/func.c
diff options
context:
space:
mode:
authordan <Dan Kennedy>2022-10-14 15:10:36 +0000
committerdan <Dan Kennedy>2022-10-14 15:10:36 +0000
commit2bc4a6cad0457fc07138f8c27d0190f3acb33f72 (patch)
tree9b16990abefa80ed1f2e11daf80aa32abf0a34fb /src/func.c
parent3e771c0f077a6a9fad6e560559edb3f501c3892e (diff)
downloadsqlite-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.c2
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 ){