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

Unified Diff: third_party/sqlite/patches/0010-fts3-Fix-uninit-variable-in-fts3EvalDeferredPhrase.patch

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/0010-fts3-Fix-uninit-variable-in-fts3EvalDeferredPhrase.patch
diff --git a/third_party/sqlite/patches/0010-fts3-Fix-uninit-variable-in-fts3EvalDeferredPhrase.patch b/third_party/sqlite/patches/0010-fts3-Fix-uninit-variable-in-fts3EvalDeferredPhrase.patch
deleted file mode 100644
index 0de8efd4f38155b2c5ee34cbcd98d2af139e6f6b..0000000000000000000000000000000000000000
--- a/third_party/sqlite/patches/0010-fts3-Fix-uninit-variable-in-fts3EvalDeferredPhrase.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From f6dcd6042d04b4424574d26d837f0e1df30d0c98 Mon Sep 17 00:00:00 2001
-From: Scott Hess <shess@chromium.org>
-Date: Thu, 12 Feb 2015 15:01:26 -0800
-Subject: [PATCH 10/11] [fts3] Fix uninit variable in fts3EvalDeferredPhrase.
-
-Chromium compiles with SQLITE_DISABLE_FTS4_DEFERRED since fts4 is
-disabled. That compiles away sqlite3Fts3DeferredTokenList() which
-otherwise initialized pList and nList in fts3EvalDeferredPhrase().
-
-BUG=458266
-R=thakis@chromium.org
----
- third_party/sqlite/src/ext/fts3/fts3.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/third_party/sqlite/src/ext/fts3/fts3.c b/third_party/sqlite/src/ext/fts3/fts3.c
-index 3a1152d..c43f369 100644
---- a/third_party/sqlite/src/ext/fts3/fts3.c
-+++ b/third_party/sqlite/src/ext/fts3/fts3.c
-@@ -4038,8 +4038,8 @@ static int fts3EvalDeferredPhrase(Fts3Cursor *pCsr, Fts3Phrase *pPhrase){
- Fts3DeferredToken *pDeferred = pToken->pDeferred;
-
- if( pDeferred ){
-- char *pList;
-- int nList;
-+ char *pList = 0;
-+ int nList = 0;
- int rc = sqlite3Fts3DeferredTokenList(pDeferred, &pList, &nList);
- if( rc!=SQLITE_OK ) return rc;
-
---
-2.4.5
-

Powered by Google App Engine
This is Rietveld 408576698