diff --git a/libraries/libmdb/mdb.c b/libraries/libmdb/mdb.c index bf09af8..01e2243 100644 --- a/libraries/libmdb/mdb.c +++ b/libraries/libmdb/mdb.c @@ -1980,7 +1980,7 @@ memnrcmp(const MDB_val *a, const MDB_val *b) else p1_lim = p1 - b->mv_size; - while (p1 >= p1_lim) { + while (p1 > p1_lim) { diff = *p1 - *p2; if (diff) return diff;