提交 239aaf2f 编写于 作者: P Peter Mattis

Use user_comparator when comparing against iterate_upper_bound.

Fixes #983.
上级 90810039
...@@ -275,7 +275,7 @@ void DBIter::FindNextUserEntryInternal(bool skipping) { ...@@ -275,7 +275,7 @@ void DBIter::FindNextUserEntryInternal(bool skipping) {
if (ParseKey(&ikey)) { if (ParseKey(&ikey)) {
if (iterate_upper_bound_ != nullptr && if (iterate_upper_bound_ != nullptr &&
ikey.user_key.compare(*iterate_upper_bound_) >= 0) { user_comparator_->Compare(ikey.user_key, *iterate_upper_bound_) >= 0) {
break; break;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册