ITS#8489 reset cursor EOF flag in cursor_set

It usually gets done anyway, but one of the fastpath shortcuts
bypassed this step.
mdb.RE/0.9
Howard Chu 8 years ago committed by Hallvard Furuseth
parent 38564c92da
commit 56b81e6d57
  1. 1
      libraries/liblmdb/mdb.c

@ -5928,6 +5928,7 @@ mdb_cursor_set(MDB_cursor *mc, MDB_val *key, MDB_val *data,
} }
} }
rc = 0; rc = 0;
mc->mc_flags &= ~C_EOF;
goto set2; goto set2;
} }
} }

Loading…
Cancel
Save