diff options
author | drh <drh@noemail.net> | 2016-01-20 16:02:48 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2016-01-20 16:02:48 +0000 |
commit | e1ed0bb6077cc223fa54f58ae835f133d1c4aa59 (patch) | |
tree | dbd0bbc5bc69ccf71ab729aa38fa912f70a45bbc /src/func.c | |
parent | 20f272c96f2b67c3a3fa6784dcf14a2d5439791e (diff) | |
parent | 30908c97ac15d7413d4de3d74f77feff9a10abf6 (diff) | |
download | sqlite-e1ed0bb6077cc223fa54f58ae835f133d1c4aa59.tar.gz sqlite-e1ed0bb6077cc223fa54f58ae835f133d1c4aa59.zip |
Merge the LIKE-operator bug fix from trunk.
FossilOrigin-Name: 36cb3d6e274a06a78693ca506feaad0b14bde11d
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 45bbb35cd..b92729678 100644 --- a/src/func.c +++ b/src/func.c @@ -739,7 +739,7 @@ static int patternCompare( } c2 = Utf8Read(zString); if( c==c2 ) continue; - if( noCase && sqlite3Tolower(c)==sqlite3Tolower(c2) ){ + if( noCase && c<0x80 && c2<0x80 && sqlite3Tolower(c)==sqlite3Tolower(c2) ){ continue; } if( c==matchOne && zPattern!=zEscaped && c2!=0 ) continue; |