[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7535) MDB_PREV on a cursor which was at EOF



Full_Name: Claude Brisson
Version: 2.4.33
OS: debian
URL: 
Submission from: (NULL) (86.76.238.166)


When calling mdb_cursor_get with operation MDB_PREV on a cursor which was at
EOF, the last key is fetched as expected, but the cursor state is left
uninitialized.

It looks like there is a missing "mc->mc_flags |= C_INITIALIZED" somewhere in
this case.