|author||Chris Wilson <email@example.com>||2014-02-07 23:15:53 +0000|
|committer||Chris Wilson <firstname.lastname@example.org>||2014-02-07 23:15:53 +0000|
Fix compile error.
Caused by removal of BackupStoreRefCountDatabase::CreateForRegeneration. It's not safe to do this in housekeeping anyway, because it might not complete the scan, leaving an incomplete database, that might persuade BackupStoreContext that it's OK to delete an object that still really has references to it. If your refcount db disappears or is damaged, you need to run a check fix.
Diffstat (limited to 'lib/backupstore')
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/backupstore/BackupStoreContext.cpp b/lib/backupstore/BackupStoreContext.cpp
index d661684a..e3de2232 100644
@@ -203,12 +203,11 @@ void BackupStoreContext::LoadStoreInfo()
- BOX_WARNING("Reference count database is missing or corrupted, "
- "creating a new one, expect housekeeping to find and "
- "fix problems with reference counts later.");
- mapRefCount = BackupStoreRefCountDatabase::Load(account, false);
+ CorruptReferenceCountDatabase, "Reference count "
+ "database is missing or corrupted, cannot safely open "
+ "account. Housekeeping will fix this automatically "
+ "when it next runs.");