Merge pull request #62 from matope/fix-BackupableDBTest-NoDoubleCopy-test-fail

Fix share_table_files condition in BackupEngine constructor.
This commit is contained in:
Igor Canadi 2014-01-10 13:40:46 -08:00
commit 62197d28b6

View File

@ -177,7 +177,7 @@ BackupEngine::BackupEngine(Env* db_env, const BackupableDBOptions& options)
// create all the dirs we need
backup_env_->CreateDirIfMissing(GetAbsolutePath());
if (!options_.share_table_files) {
if (options_.share_table_files) {
backup_env_->CreateDirIfMissing(GetAbsolutePath(GetSharedFileRel()));
}
backup_env_->CreateDirIfMissing(GetAbsolutePath(GetPrivateDirRel()));