summaryrefslogtreecommitdiff
path: root/db/db_test.cc
diff options
context:
space:
mode:
authorZongzhi Chen <baotiao@gmail.com>2016-08-10 09:14:13 +0800
committerIslam AbdelRahman <tec@fb.com>2016-08-09 18:14:13 -0700
commit98d0b78eac528b0f244df3e075c5b8f6b4080106 (patch)
tree3acded49f5c0487618a81aadeeb62abb6fc4eb95 /db/db_test.cc
parent9fd68b7fb66ed899ebba6aaa8455946be2fdc205 (diff)
Added check_snapshot option in the DB's AddFile function (#1261)
* Added check_snapshot option in the DB's AddFile function * change check_snapshot to skip_snapshot_check * add unit test for skip_snapshot_check * Add skip_snapshot_check comment
Diffstat (limited to 'db/db_test.cc')
-rw-r--r--db/db_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/db_test.cc b/db/db_test.cc
index 5bcc6a213..f238acd70 100644
--- a/db/db_test.cc
+++ b/db/db_test.cc
@@ -2649,12 +2649,12 @@ class ModelDB : public DB {
using DB::AddFile;
virtual Status AddFile(ColumnFamilyHandle* column_family,
const std::vector<ExternalSstFileInfo>& file_info_list,
- bool move_file) override {
+ bool move_file, bool skip_snapshot_check) override {
return Status::NotSupported("Not implemented.");
}
virtual Status AddFile(ColumnFamilyHandle* column_family,
const std::vector<std::string>& file_path_list,
- bool move_file) override {
+ bool move_file, bool skip_snapshot_check) override {
return Status::NotSupported("Not implemented.");
}