From 45a88275d2a410e683bae4ef44881e0f55fa3c4d Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 1 Sep 2016 00:41:35 +0100 Subject: [PATCH] ITS#8489 reset cursor EOF flag in cursor_set It usually gets done anyway, but one of the fastpath shortcuts bypassed this step. --- libraries/liblmdb/mdb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 32f0a5a881..0110402c5b 100644 --- a/libraries/liblmdb/mdb.c +++ b/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; } } -- 2.39.5