ITS#9723 clear C_EOF on cursor with MDB_FIRST_DUP

mdb.master
Howard Chu 3 years ago
parent 01b1b7dc20
commit 55fd54dae6
  1. 1
      libraries/liblmdb/mdb.c

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

Loading…
Cancel
Save