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

Unified Diff: third_party/sqlite/patches/0015-fts2-Fix-a-crasher-in-full-text-search-sqlite.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/0015-fts2-Fix-a-crasher-in-full-text-search-sqlite.patch
diff --git a/third_party/sqlite/patches/0022-fts2-Fix-a-crasher-in-full-text-search-sqlite.patch b/third_party/sqlite/patches/0015-fts2-Fix-a-crasher-in-full-text-search-sqlite.patch
similarity index 95%
rename from third_party/sqlite/patches/0022-fts2-Fix-a-crasher-in-full-text-search-sqlite.patch
rename to third_party/sqlite/patches/0015-fts2-Fix-a-crasher-in-full-text-search-sqlite.patch
index c29c28b11178e1aac12019a7dc2886fee62c48c8..f5a6c67d09050542ce730a456be1c565c438e00a 100644
--- a/third_party/sqlite/patches/0022-fts2-Fix-a-crasher-in-full-text-search-sqlite.patch
+++ b/third_party/sqlite/patches/0015-fts2-Fix-a-crasher-in-full-text-search-sqlite.patch
@@ -1,7 +1,7 @@
-From 89a3eac0dd55f34787abe98a509b7006fe2b7618 Mon Sep 17 00:00:00 2001
+From ab29deaf1d9911e7dfc5f12e1fb131f800c9d4fd Mon Sep 17 00:00:00 2001
From: cpu <cpu@chromium.org>
Date: Mon, 14 Sep 2009 17:37:35 +0000
-Subject: [PATCH 22/23] [fts2] Fix a crasher in full text search (sqlite)
+Subject: [PATCH 15/16] [fts2] Fix a crasher in full text search (sqlite)
- If the xxx_segdir table gets corrupted, you can have non-contiguous indexes (idx).
- This causes an assertion in debug, and a crash later on on release
@@ -34,7 +34,7 @@ Original review URL: https://codereview.chromium.org/209001/
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/third_party/sqlite/src/ext/fts2/fts2.c b/third_party/sqlite/src/ext/fts2/fts2.c
-index bdbd747..d5587b3 100644
+index 5cb3fc6..a78e3d3 100644
--- a/third_party/sqlite/src/ext/fts2/fts2.c
+++ b/third_party/sqlite/src/ext/fts2/fts2.c
@@ -1838,7 +1838,7 @@ static const char *const fulltext_zStatement[MAX_STMT] = {

Powered by Google App Engine
This is Rietveld 408576698