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:
Daniel Black 2016-12-13 14:21:05 -08:00 committed by Facebook Github Bot
parent 1a146f89c7
commit 67adc937b6

View File

@ -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