Fix share_table_files bug
Summary: constructor wasn't properly constructing BackupableDBOptions Test Plan: no test Reviewers: benj Reviewed By: benj CC: leveldb Differential Revision: https://reviews.facebook.net/D16749
This commit is contained in:
parent
fac58c0504
commit
9db8c4c556
@ -64,6 +64,7 @@ struct BackupableDBOptions {
|
||||
bool _destroy_old_data = false)
|
||||
: backup_dir(_backup_dir),
|
||||
backup_env(_backup_env),
|
||||
share_table_files(_share_table_files),
|
||||
info_log(_info_log),
|
||||
sync(_sync),
|
||||
destroy_old_data(_destroy_old_data) {}
|
||||
|
@ -29,10 +29,12 @@ namespace rocksdb {
|
||||
void BackupableDBOptions::Dump(Logger* logger) const {
|
||||
Log(logger, " Options.backup_dir: %s", backup_dir.c_str());
|
||||
Log(logger, " Options.backup_env: %p", backup_env);
|
||||
Log(logger, "Options.share_table_files: %d", share_table_files);
|
||||
Log(logger, "Options.share_table_files: %d",
|
||||
static_cast<int>(share_table_files));
|
||||
Log(logger, " Options.info_log: %p", info_log);
|
||||
Log(logger, " Options.sync: %d", sync);
|
||||
Log(logger, " Options.destroy_old_data: %d", destroy_old_data);
|
||||
Log(logger, " Options.sync: %d", static_cast<int>(sync));
|
||||
Log(logger, " Options.destroy_old_data: %d",
|
||||
static_cast<int>(destroy_old_data));
|
||||
}
|
||||
|
||||
// -------- BackupEngineImpl class ---------
|
||||
|
Loading…
Reference in New Issue
Block a user