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:
da4443a
)
ITS#8489 reset cursor EOF flag in cursor_set
author
Howard Chu
<hyc@openldap.org>
Wed, 31 Aug 2016 23:41:35 +0000
(
00:41
+0100)
committer
Howard Chu
<hyc@openldap.org>
Wed, 31 Aug 2016 23:41:35 +0000
(
00:41
+0100)
It usually gets done anyway, but one of the fastpath shortcuts
bypassed this step.
libraries/liblmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/liblmdb/mdb.c
b/libraries/liblmdb/mdb.c
index
32f0a5a
..
0110402
100644
(file)
--- a/
libraries/liblmdb/mdb.c
+++ b/
libraries/liblmdb/mdb.c
@@
-6692,6
+6692,7
@@
mdb_cursor_set(MDB_cursor *mc, MDB_val *key, MDB_val *data,
}
}
rc = 0;
+ mc->mc_flags &= ~C_EOF;
goto set2;
}
}