mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-28 15:33:54 +00:00
Fix a bug in GetOverlappingInputsRangeBinarySearch (#5211)
Summary: As title. Pull Request resolved: https://github.com/facebook/rocksdb/pull/5211 Differential Revision: D14992018 Pulled By: riversand963 fbshipit-source-id: b5720ea4742029e2fb47ff6d9f8d9de006db4ed4
This commit is contained in:
parent
5b7e09bd6f
commit
392f6d49e5
|
@ -2857,7 +2857,7 @@ void VersionStorageInfo::GetOverlappingInputsRangeBinarySearch(
|
||||||
// If there were no overlapping files, return immediately.
|
// If there were no overlapping files, return immediately.
|
||||||
if (start_index == end_index) {
|
if (start_index == end_index) {
|
||||||
if (next_smallest) {
|
if (next_smallest) {
|
||||||
next_smallest = nullptr;
|
*next_smallest = nullptr;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue