提交 f8642dac 编写于 作者: O ono_matope

Fix share_table_files condition in BackupEngine constructor.

That makes BackupableDBTest.NoDoubleCopy test error.
上级 9996e2d2
......@@ -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()));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册