https://bugs.openldap.org/show_bug.cgi?id=9723
--- Comment #5 from stephan.j.bircher@gmail.com --- (In reply to Howard Chu from comment #4)
(In reply to stephan.j.bircher from comment #3)
Should clearing C_EOF not only happen after a successful mdb_cursor_first()?
The DB has already been determined to be non-empty, which is all that C_EOF is meant to signal.
Great! Thanks for the clarification. I will test and give feedback...