| Index: third_party/sqlite/src/ext/fts1/simple_tokenizer.c
|
| diff --git a/third_party/sqlite/src/ext/fts1/simple_tokenizer.c b/third_party/sqlite/src/ext/fts1/simple_tokenizer.c
|
| index 9a52bd1bfd6bfcff074e2dc369e509e2c0f30804..d00a77089d871ccbd6528a943ab79045b0445a3a 100644
|
| --- a/third_party/sqlite/src/ext/fts1/simple_tokenizer.c
|
| +++ b/third_party/sqlite/src/ext/fts1/simple_tokenizer.c
|
| @@ -138,7 +138,7 @@ static int simpleNext(
|
| ** case-insensitivity.
|
| */
|
| char ch = c->pCurrent[ii];
|
| - c->zToken[ii] = ((ch>='A' && ch<='Z') ? (ch-'A'+'a') : ch);
|
| + c->zToken[ii] = (unsigned char)ch<0x80 ? tolower(ch) : ch;
|
| }
|
| c->zToken[n] = '\0';
|
| *ppToken = c->zToken;
|
|
|