ITS#8489 reset cursor EOF flag in cursor_set

It usually gets done anyway, but one of the fastpath shortcuts
bypassed this step.
ntdll
Howard Chu 8 years ago
parent da4443a9b3
commit 45a88275d2
  1. 1
      libraries/liblmdb/mdb.c

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

Loading…
Cancel
Save