summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-16 05:49:05 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-16 05:49:05 +0000
commit29a4fd5d7ea7177c8ad6d95e4b6a1f5d9a090bcc (patch)
tree26bd64a028cf07282df38cc1a5cf52ddd53ea367 /tools
parentf454eed0f7ead2959c249da24f6b0e6e69bbe832 (diff)
downloadchromium_src-29a4fd5d7ea7177c8ad6d95e4b6a1f5d9a090bcc.zip
chromium_src-29a4fd5d7ea7177c8ad6d95e4b6a1f5d9a090bcc.tar.gz
chromium_src-29a4fd5d7ea7177c8ad6d95e4b6a1f5d9a090bcc.tar.bz2
Recover version 6 Favicons, fix meta table.
Version 6 is exactly like version 7, except it has an extra trailing column on favicons which was never used. The version-7 recovery code works for it, so long as the meta table is updated correctly. In writing this change, I realized that the meta table wasn't being created for recovered databases. Instead, SQLite was resolving to the corrupt.meta table. This works so long as the version doesn't change (next open will populate meta with kCurrentVersion). This change makes the table references absolute, and fixes the meta table setup. BUG=240396 R=jar@chromium.org, pkotwicz@chromium.org, sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=228217 Review URL: https://codereview.chromium.org/25032004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228871 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/metrics/histograms/histograms.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 5dfbe96..a930f2d 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -22610,6 +22610,12 @@ other types of suffix sets.
<int value="15" label="RECOVERY_EVENT_FAILED_ICON_MAPPING_INSERT">
Failed to copy recovery icon_mapping table.
</int>
+ <int value="16" label="RECOVERY_EVENT_RECOVERED_VERSION6">
+ Successful recovery of version 6 database.
+ </int>
+ <int value="17" label="RECOVERY_EVENT_FAILED_META_INIT">
+ Failed sql::MetaTable::Init().
+ </int>
</enum>
<enum name="HttpAuthCount" type="int">