Fix share_table_files condition in BackupEngine constructor.

That makes BackupableDBTest.NoDoubleCopy test error.
main
ono_matope 11 years ago
parent 9996e2d21c
commit f8642dacde
  1. 2
      utilities/backupable/backupable_db.cc

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

Loading…
Cancel
Save