Fix compile

Summary: Ooops, sorry about this.

Test Plan: compiles

Reviewers: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D39885
main
Igor Canadi 10 years ago
parent 4949ef08db
commit 51440f83ec
  1. 4
      utilities/write_batch_with_index/write_batch_with_index.cc

@ -235,7 +235,7 @@ class BaseDeltaIterator : public Iterator {
// Finished
return;
}
if (delta_entry.type == kDeleteRecord()) {
if (delta_entry.type == kDeleteRecord) {
AdvanceDelta();
} else {
current_at_base_ = false;
@ -253,7 +253,7 @@ class BaseDeltaIterator : public Iterator {
if (compare == 0) {
equal_keys_ = true;
}
if (delta_entry.type == kDeleteRecord()) {
if (delta_entry.type == kDeleteRecord) {
current_at_base_ = false;
return;
}

Loading…
Cancel
Save