Fix WriteBatchBase::DeleteRange
API comment
The `DeleteRange` end key is exclusive, not inclusive. Updated API comment accordingly.
This commit is contained in:
parent
35e5689e11
commit
196c68703a
@ -69,7 +69,7 @@ class WriteBatchBase {
|
|||||||
const SliceParts& key);
|
const SliceParts& key);
|
||||||
virtual Status SingleDelete(const SliceParts& key);
|
virtual Status SingleDelete(const SliceParts& key);
|
||||||
|
|
||||||
// If the database contains mappings in the range ["begin_key", "end_key"],
|
// If the database contains mappings in the range ["begin_key", "end_key"),
|
||||||
// erase them. Else do nothing.
|
// erase them. Else do nothing.
|
||||||
virtual Status DeleteRange(ColumnFamilyHandle* column_family,
|
virtual Status DeleteRange(ColumnFamilyHandle* column_family,
|
||||||
const Slice& begin_key, const Slice& end_key) = 0;
|
const Slice& begin_key, const Slice& end_key) = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user