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