From e9269e6eceb927e5112eff12229ba3955f4b7684 Mon Sep 17 00:00:00 2001 From: Yueh-Hsuan Chiang Date: Wed, 30 Jul 2014 17:25:11 -0700 Subject: [PATCH] Fixed a typo in the comment for merge operator. Summary: Fixed a typo in the comment for merge operator. Test Plan: n/a --- db/memtable.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/memtable.cc b/db/memtable.cc index 4dabfb782..4ddcb3747 100644 --- a/db/memtable.cc +++ b/db/memtable.cc @@ -394,7 +394,7 @@ static bool SaveValue(void* arg, const char* entry) { *(s->status) = Status::InvalidArgument( "merge_operator is not properly initialized."); // Normally we continue the loop (return true) when we see a merge - // operator. But in case of an error, we should stop the loop + // operand. But in case of an error, we should stop the loop // immediately and pretend we have found the value to stop further // seek. Otherwise, the later call will override this error status. *(s->found_final_value) = true;