Skip to content

Commit

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

Differential Revision: D14992018

Pulled By: riversand963

fbshipit-source-id: b5720ea4742029e2fb47ff6d9f8d9de006db4ed4
  • Loading branch information
riversand963 authored and facebook-github-bot committed Apr 18, 2019
1 parent 5b7e09b commit 392f6d4
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 @@ -2857,7 +2857,7 @@ void VersionStorageInfo::GetOverlappingInputsRangeBinarySearch(
// If there were no overlapping files, return immediately.
if (start_index == end_index) {
if (next_smallest) {
next_smallest = nullptr;
*next_smallest = nullptr;
}
return;
}
Expand Down

0 comments on commit 392f6d4

Please sign in to comment.