Skip to content

Commit

Permalink
Fix share_table_files condition in BackupEngine constructor.
Browse files Browse the repository at this point in the history
That makes BackupableDBTest.NoDoubleCopy test error.
  • Loading branch information
matope committed Jan 10, 2014
1 parent 9996e2d commit f8642da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/backupable/backupable_db.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
Expand Down

0 comments on commit f8642da

Please sign in to comment.