ITS#7556 fix cursor_sibling for PREV

This commit is contained in:
Howard Chu 2013-04-01 19:06:05 -07:00
parent 7d643d3acb
commit 3213fc4db7

View File

@ -4273,6 +4273,8 @@ mdb_cursor_sibling(MDB_cursor *mc, int move_right)
return rc;
mdb_cursor_push(mc, mp);
if (!move_right)
mc->mc_ki[mc->mc_top] = NUMKEYS(mp)-1;
return MDB_SUCCESS;
}