diff --git a/mdb.c b/mdb.c index 3612bdad..84aff9b9 100644 --- a/mdb.c +++ b/mdb.c @@ -6090,6 +6090,7 @@ mdb_cursor_set(MDB_cursor *mc, MDB_val *key, MDB_val *data, } } rc = 0; + mc->mc_flags &= ~C_EOF; goto set2; } }