intentional fallthough (prevents gcc-7/clang-4 error)
Summary: db/memtable.cc: In member function 'void rocksdb::MemTable::Update(rocksdb::SequenceNumber, const rocksdb::Slice&, const rocksdb::Slice&)': db/memtable.cc:736:11: error: this statement may fall through [-Werror=implicit-fallthrough=] } ^ db/memtable.cc:738:9: note: here default: ^~~~~~~ cc1plus: all warnings being treated as errors closes #1650 Closes https://github.com/facebook/rocksdb/pull/1655 Differential Revision: D4318696 Pulled By: yiwu-arbug fbshipit-source-id: 1a8981c
This commit is contained in:
parent
1a146f89c7
commit
67adc937b6
@ -735,6 +735,7 @@ void MemTable::Update(SequenceNumber seq,
|
||||
return;
|
||||
}
|
||||
}
|
||||
// fallthrough
|
||||
default:
|
||||
// If the latest value is kTypeDeletion, kTypeMerge or kTypeLogData
|
||||
// we don't have enough space for update inplace
|
||||
|
Loading…
Reference in New Issue
Block a user