ITS#8489 reset cursor EOF flag in cursor_set

It usually gets done anyway, but one of the fastpath shortcuts
bypassed this step.
This commit is contained in:
Howard Chu 2016-09-01 00:41:35 +01:00 committed by Hallvard Furuseth
parent 38564c92da
commit 56b81e6d57

View File

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