Chromium Code Reviews| Index: sql/recovery.cc |
| diff --git a/sql/recovery.cc b/sql/recovery.cc |
| index d7bb74f2d306952065701eb4615e81cda2ad9d2b..0b4c3fe6a3ba9369832c462cf0887ea32dfaa23d 100644 |
| --- a/sql/recovery.cc |
| +++ b/sql/recovery.cc |
| @@ -240,6 +240,8 @@ bool Recovery::Init(const base::FilePath& db_path) { |
| if (!recover_db_.AttachDatabase(db_path, "corrupt")) { |
| RecordRecoveryEvent(RECOVERY_FAILED_ATTACH); |
| + UMA_HISTOGRAM_SPARSE_SLOWLY("Sqlite.RecoveryAttachError", |
| + recover_db_.GetErrorCode()); |
| return false; |
| } |