Skip to content

Commit

Permalink
Fix a bug in GetOverlappingInputsRangeBinarySearch (facebook#5211)
Browse files Browse the repository at this point in the history
Summary:
As title.
Pull Request resolved: facebook#5211

Differential Revision: D14992018

Pulled By: riversand963

fbshipit-source-id: b5720ea4742029e2fb47ff6d9f8d9de006db4ed4
  • Loading branch information
riversand963 committed Apr 18, 2019
1 parent d98808f commit d81aedf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/version_set.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2235,7 +2235,7 @@ void VersionStorageInfo::GetOverlappingInputsRangeBinarySearch(
// If there were no overlapping files, return immediately.
if (!foundOverlap) {
if (next_smallest) {
next_smallest = nullptr;
*next_smallest = nullptr;
}
return;
}
Expand Down

0 comments on commit d81aedf

Please sign in to comment.