]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commitdiff
Fix a bug in GetOverlappingInputsRangeBinarySearch (#5211) v6.1.1
authorYanqin Jin <yanqin@fb.com>
Thu, 18 Apr 2019 16:17:41 +0000 (09:17 -0700)
committerYanqin Jin <yanqin@fb.com>
Thu, 18 Apr 2019 16:47:15 +0000 (09:47 -0700)
Summary:
As title.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5211

Differential Revision: D14992018

Pulled By: riversand963

fbshipit-source-id: b5720ea4742029e2fb47ff6d9f8d9de006db4ed4

db/version_set.cc

index a39d2b9d858b1d3c2af1e71cf5269164165e2e36..6c7b77a9005927d6cbe7f3577b94678020c47530 100644 (file)
@@ -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;
   }