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

Unified Diff: third_party/sqlite/patches/0018-fts2-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 side-by-side diff with in-line comments
Download patch
Index: third_party/sqlite/patches/0018-fts2-backport-ICU-tokenizer-iterate-by-UTF16.patch
diff --git a/third_party/sqlite/patches/0018-fts2-backport-ICU-tokenizer-iterate-by-UTF16.patch b/third_party/sqlite/patches/0018-fts2-backport-ICU-tokenizer-iterate-by-UTF16.patch
deleted file mode 100644
index f90284a7a00d178344d4c9af205d5deea19a33d5..0000000000000000000000000000000000000000
--- a/third_party/sqlite/patches/0018-fts2-backport-ICU-tokenizer-iterate-by-UTF16.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 51baa7fbc6f2ee659f75e66d6fb9e3b7afdf42f5 Mon Sep 17 00:00:00 2001
-From: Scott Hess <shess@chromium.org>
-Date: Fri, 9 Jan 2015 11:27:59 -0800
-Subject: [PATCH 18/23] [fts2][backport] ICU tokenizer iterate by UTF16.
-
-This issue was discovered in Gears and is upstream at:
- http://www.sqlite.org/src/info/892b74116a
-
-No original review URL because this was part of the initial Chromium commit.
----
- third_party/sqlite/src/ext/fts2/fts2_icu.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/third_party/sqlite/src/ext/fts2/fts2_icu.c b/third_party/sqlite/src/ext/fts2/fts2_icu.c
-index de8e116..6b9687e 100644
---- a/third_party/sqlite/src/ext/fts2/fts2_icu.c
-+++ b/third_party/sqlite/src/ext/fts2/fts2_icu.c
-@@ -198,7 +198,7 @@ static int icuNext(
-
- while( iStart<iEnd ){
- int iWhite = iStart;
-- U8_NEXT(pCsr->aChar, iWhite, pCsr->nChar, c);
-+ U16_NEXT(pCsr->aChar, iWhite, pCsr->nChar, c);
- if( u_isspace(c) ){
- iStart = iWhite;
- }else{
---
-2.2.1
-

Powered by Google App Engine
This is Rietveld 408576698