summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzzt <zhuangzhutao@gmail.com>2021-09-03 11:18:31 +0800
committerGitHub <noreply@github.com>2021-09-03 11:18:31 +0800
commit11aafab31f96ba0a07ac5b2d5275f289e17c7814 (patch)
tree1e3aa6d03ec5526d39cdbc377b292a86de14444d
parent5783a79309bfcd2089147bd474f796347e4a2d1e (diff)
downloadleveldb-11aafab31f96ba0a07ac5b2d5275f289e17c7814.tar.gz
Fix version_set.cc comments typo
Fix typo of comment of FindLargestKey function
-rw-r--r--db/version_set.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/version_set.cc b/db/version_set.cc
index 8d85fce..da38bbb 100644
--- a/db/version_set.cc
+++ b/db/version_set.cc
@@ -1304,7 +1304,7 @@ Compaction* VersionSet::PickCompaction() {
return c;
}
-// Finds the largest key in a vector of files. Returns true if files it not
+// Finds the largest key in a vector of files. Returns true if files is not
// empty.
bool FindLargestKey(const InternalKeyComparator& icmp,
const std::vector<FileMetaData*>& files,