Index: third_party/sqlite/ext/fts1/fts1.c |
=================================================================== |
--- third_party/sqlite/ext/fts1/fts1.c (revision 25131) |
+++ third_party/sqlite/ext/fts1/fts1.c (working copy) |
@@ -208,7 +208,7 @@ |
return (c&0x80)==0 ? isspace(c) : 0; |
} |
static int safe_tolower(char c){ |
- return (c&0x80)==0 ? tolower(c) : c; |
+ return (c>='A' && c<='Z') ? (c-'A'+'a') : c; |
} |
static int safe_isalnum(char c){ |
return (c&0x80)==0 ? isalnum(c) : 0; |