Fixed a typo in the comment for merge operator.

Summary:
Fixed a typo in the comment for merge operator.

Test Plan:
n/a
main
Yueh-Hsuan Chiang 10 years ago
parent 49ee5a4ac4
commit e9269e6ece
  1. 2
      db/memtable.cc

@ -394,7 +394,7 @@ static bool SaveValue(void* arg, const char* entry) {
*(s->status) = Status::InvalidArgument( *(s->status) = Status::InvalidArgument(
"merge_operator is not properly initialized."); "merge_operator is not properly initialized.");
// Normally we continue the loop (return true) when we see a merge // 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 // immediately and pretend we have found the value to stop further
// seek. Otherwise, the later call will override this error status. // seek. Otherwise, the later call will override this error status.
*(s->found_final_value) = true; *(s->found_final_value) = true;

Loading…
Cancel
Save