Index: third_party/sqlite/ext/fts3/fts3.c |
=================================================================== |
--- third_party/sqlite/ext/fts3/fts3.c (revision 25131) |
+++ third_party/sqlite/ext/fts3/fts3.c (working copy) |
@@ -330,7 +330,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; |