projects
/
platform
/
upstream
/
lmdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
963c421
)
Fix for mdb_cmp refactoring
author
Howard Chu
<hyc@symas.com>
Mon, 5 Sep 2011 23:54:39 +0000
(16:54 -0700)
committer
Howard Chu
<hyc@symas.com>
Mon, 5 Sep 2011 23:54:39 +0000
(16:54 -0700)
libraries/libmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/libmdb/mdb.c
b/libraries/libmdb/mdb.c
index bf09af860ce13ad8f367234a4e9f66c77aea6c66..01e2243af3ef529b0de2d2b55418fca458f59a1c 100644
(file)
--- 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;