Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: third_party/sqlite/patches/0011-fts3-backport-ICU-tokenizer-iterate-by-UTF16.patch

Issue 901033002: Import SQLite 3.8.7.4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium changes to support SQLite 3.8.7.4. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 From 1b230b87b8df0b0b996589a3275b27bd1d6a9c33 Mon Sep 17 00:00:00 2001
2 From: Scott Hess <shess@chromium.org>
3 Date: Tue, 23 Dec 2014 13:22:46 -0800
4 Subject: [PATCH 11/23] [fts3][backport] ICU tokenizer iterate by UTF16.
5
6 This issue was discovered in Gears and is upstream at:
7 http://www.sqlite.org/src/info/892b74116a
8
9 No original review URL because this was part of the initial Chromium commit.
10 ---
11 third_party/sqlite/src/ext/fts3/fts3_icu.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/third_party/sqlite/src/ext/fts3/fts3_icu.c b/third_party/sqlite/src /ext/fts3/fts3_icu.c
15 index 85390d3..a75b14a 100644
16 --- a/third_party/sqlite/src/ext/fts3/fts3_icu.c
17 +++ b/third_party/sqlite/src/ext/fts3/fts3_icu.c
18 @@ -198,7 +198,7 @@ static int icuNext(
19
20 while( iStart<iEnd ){
21 int iWhite = iStart;
22 - U8_NEXT(pCsr->aChar, iWhite, pCsr->nChar, c);
23 + U16_NEXT(pCsr->aChar, iWhite, pCsr->nChar, c);
24 if( u_isspace(c) ){
25 iStart = iWhite;
26 }else{
27 --
28 2.2.1
29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698