ITS#9723 clear C_EOF on cursor with MDB_FIRST_DUP

mdb.RE/0.9
Howard Chu 3 years ago
parent f9d01f4722
commit c4085fdfe6
  1. 1
      libraries/liblmdb/mdb.c

@ -6477,6 +6477,7 @@ fetchm:
rc = MDB_NOTFOUND;
break;
}
mc->mc_flags &= ~C_EOF;
{
MDB_node *leaf = NODEPTR(mc->mc_pg[mc->mc_top], mc->mc_ki[mc->mc_top]);
if (!F_ISSET(leaf->mn_flags, F_DUPDATA)) {

Loading…
Cancel
Save