mdbx: backport - reset cursor EOF flag in cursor_set (ITS#8489).

It usually gets done anyway, but one of the fastpath shortcuts
bypassed this step.

Change-Id: I89d3c797ce969524e383b093dcf592579a514de1
This commit is contained in:
Howard Chu 2016-09-01 00:41:35 +01:00 committed by Leo Yuriev
parent 796c4f5bc2
commit c25b01b5b6

1
mdb.c
View File

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