Use user_comparator when comparing against iterate_upper_bound.
Fixes #983.
This commit is contained in:
parent
908100399c
commit
239aaf2fc0
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user