summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-06 22:09:21 +0000
committerdumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-06 22:09:21 +0000
commitd053934bb6f543114f08c26f199e4e02c94992db (patch)
tree92701df405d5206cf517980abc34bcc864862c5f
parentd3eacd5122a0f44a8a87eed3cc88dc7a54d5b1b0 (diff)
downloadchromium_src-d053934bb6f543114f08c26f199e4e02c94992db.zip
chromium_src-d053934bb6f543114f08c26f199e4e02c94992db.tar.gz
chromium_src-d053934bb6f543114f08c26f199e4e02c94992db.tar.bz2
Increase the current version of the history index DBs, because of the switch from fts2 to fts3.
BUG=none TEST=none Review URL: http://codereview.chromium.org/2825037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51677 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/history/text_database.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/history/text_database.cc b/chrome/browser/history/text_database.cc
index f44207a..3327869 100644
--- a/chrome/browser/history/text_database.cc
+++ b/chrome/browser/history/text_database.cc
@@ -42,8 +42,10 @@ namespace history {
namespace {
-static const int kCurrentVersionNumber = 1;
-static const int kCompatibleVersionNumber = 1;
+// Version 1 uses FTS2 for index files.
+// Version 2 uses FTS3.
+static const int kCurrentVersionNumber = 2;
+static const int kCompatibleVersionNumber = 2;
// Snippet computation relies on the index of the columns in the original
// create statement. These are the 0-based indices (as strings) of the