[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: LMDB get value
Markus Doppelbauer wrote:
Hello,
Test case (modified sample-mdb.c):
http://doppelbauer.name/bug.c.txt
If I run this proram the first time, LMDB finds the key. The second time,
mdb_cursor_get() returns NOTFOUND.
How to fix this issue?
You're using an invalid dbi the second time, you didn't call mdb_dbi_open().
Thanks a lot
Markus
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/