diff options
author | drh <drh@noemail.net> | 2016-06-06 01:48:14 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2016-06-06 01:48:14 +0000 |
commit | c80937a5f5ec900d898603dfd2d3bc7c47af10fe (patch) | |
tree | 912e42e929c101de1648c19b824a7f6901884e04 /src | |
parent | 5cd22006ef417a954b3e57aed12c4ebb087a5e40 (diff) | |
download | sqlite-c80937a5f5ec900d898603dfd2d3bc7c47af10fe.tar.gz sqlite-c80937a5f5ec900d898603dfd2d3bc7c47af10fe.zip |
Small performance improvement in the LIKE function.
FossilOrigin-Name: 5fb0c35459cf7a8662bf8cd84ac345f6fafda6cc
Diffstat (limited to 'src')
-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 4feedc744..78c880645 100644 --- a/src/func.c +++ b/src/func.c @@ -740,7 +740,7 @@ static int patternCompare( } c2 = Utf8Read(zString); if( c==c2 ) continue; - if( noCase && c<0x80 && c2<0x80 && sqlite3Tolower(c)==sqlite3Tolower(c2) ){ + if( noCase && sqlite3Tolower(c)==sqlite3Tolower(c2) && c<0x80 && c2<0x80 ){ continue; } if( c==matchOne && zPattern!=zEscaped && c2!=0 ) continue; |