| Index: tools/metrics/histograms/histograms.xml
|
| diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
|
| index 4efad5d71eff4c442afd7346449956087716a504..9b1c6f9096f39e4c9e4ea57b0d49f534ba9457de 100644
|
| --- a/tools/metrics/histograms/histograms.xml
|
| +++ b/tools/metrics/histograms/histograms.xml
|
| @@ -54081,8 +54081,9 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
|
| <owner>shess@chromium.org</owner>
|
| <summary>
|
| Records specific failure and success cases in sql::Recovery implementation,
|
| - to determine which cases (if any) might be worth writing additional
|
| - automated recovery code for, versus which should lead to clearing databases.
|
| + to determine which cases warrant further development. This histogram tracks
|
| + detected errors, some of which may cause multiple results. See recovery.cc
|
| + for details.
|
| </summary>
|
| </histogram>
|
|
|
| @@ -89761,6 +89762,30 @@ To add a new entry, add it with any value and run test to compute valid value.
|
| <int value="19" label="RECOVERY_FAILED_META_NO_VERSION">
|
| GetMetaVersionNumber() found no version row in meta table.
|
| </int>
|
| + <int value="20" label="RECOVERY_SUCCESS_AUTORECOVERDB">
|
| + sql::Recovery::RecoverDatabaseOrRaze() completed successfully.
|
| + </int>
|
| + <int value="21" label="RECOVERY_FAILED_AUTORECOVERDB_BEGIN">
|
| + Autorecover could not setup the database for recovery attempt.
|
| + </int>
|
| + <int value="22" label="RECOVERY_FAILED_AUTORECOVERDB_SCHEMASELECT">
|
| + Autorecover could not read corrupt db schema.
|
| + </int>
|
| + <int value="23" label="RECOVERY_FAILED_AUTORECOVERDB_SCHEMACREATE">
|
| + Autorecover could not create new db schema.
|
| + </int>
|
| + <int value="24" label="RECOVERY_FAILED_AUTORECOVERDB_NAMESELECT">
|
| + Autorecover could not read table names from corrupt db.
|
| + </int>
|
| + <int value="25" label="RECOVERY_FAILED_AUTORECOVERDB_TABLE">
|
| + Autorecover failed when recovering a table.
|
| + </int>
|
| + <int value="26" label="RECOVERY_FAILED_AUTORECOVERDB_SEQUENCE">
|
| + Autorecover failed when recovering sequence table.
|
| + </int>
|
| + <int value="27" label="RECOVERY_FAILED_AUTORECOVERDB_AUX">
|
| + Autorecover failed when recovering triggers, views, or virtual tables.
|
| + </int>
|
| </enum>
|
|
|
| <enum name="SqliteStatsEnum" type="int">
|
|
|