summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorSusan LoVerso <sue@wiredtiger.com>2014-08-13 15:37:24 -0400
committerSusan LoVerso <sue@wiredtiger.com>2014-08-13 15:37:24 -0400
commit5dde373e0202431b439051689bd3f646a4666a25 (patch)
tree10134656113062fe50578d6e87ee52b0c804bd66 /api
parent256b423e6666bf9a04e3335d9aac0316af14b9c9 (diff)
downloadmongo-5dde373e0202431b439051689bd3f646a4666a25.tar.gz
Fix valid operation check.
Diffstat (limited to 'api')
-rw-r--r--api/leveldb/hyper_wt.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/leveldb/hyper_wt.cc b/api/leveldb/hyper_wt.cc
index fcbcab5b77e..44435ce5520 100644
--- a/api/leveldb/hyper_wt.cc
+++ b/api/leveldb/hyper_wt.cc
@@ -274,7 +274,7 @@ ReplayIteratorImpl::SeekTo(WT_LSN *target_lsn) {
valid_ = true;
// We're only interested in modification operations.
// Continue for any other type of record.
- if (WT_VALID_OPERATION(fileid, optype))
+ if (!WT_VALID_OPERATION(fileid, optype))
Next();
}
}