1 From 087238f08e5ba1e3651e36d37709ed8ce41b2679 Mon Sep 17 00:00:00 2001
2 From: Scott Hess <shess@chromium.org>
3 Date: Fri, 9 Jan 2015 11:27:59 -0800
4 Subject: [PATCH 12/16] [fts2][backport] ICU tokenizer iterate by UTF16.
6 This issue was discovered in Gears and is upstream at:
7 http://www.sqlite.org/src/info/892b74116a
9 No original review URL because this was part of the initial Chromium commit.
11 third_party/sqlite/src/ext/fts2/fts2_icu.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
14 diff --git a/third_party/sqlite/src/ext/fts2/fts2_icu.c b/third_party/sqlite/src/ext/fts2/fts2_icu.c
15 index 2670301..6b6b195 100644
16 --- a/third_party/sqlite/src/ext/fts2/fts2_icu.c
17 +++ b/third_party/sqlite/src/ext/fts2/fts2_icu.c
18 @@ -198,7 +198,7 @@ static int icuNext(
22 - U8_NEXT(pCsr->aChar, iWhite, pCsr->nChar, c);
23 + U16_NEXT(pCsr->aChar, iWhite, pCsr->nChar, c);