From f8642dacdebde6ca5d779059daeaffa204ea454f Mon Sep 17 00:00:00 2001 From: ono_matope Date: Sat, 11 Jan 2014 05:12:07 +0900 Subject: [PATCH] Fix share_table_files condition in BackupEngine constructor. That makes BackupableDBTest.NoDoubleCopy test error. --- utilities/backupable/backupable_db.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/backupable/backupable_db.cc b/utilities/backupable/backupable_db.cc index 7f18d3142..26bdd254b 100644 --- a/utilities/backupable/backupable_db.cc +++ b/utilities/backupable/backupable_db.cc @@ -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()));