ITS#7556 fix cursor_sibling for PREV

vmware
Howard Chu 12 years ago
parent 7d643d3acb
commit 3213fc4db7
  1. 2
      libraries/liblmdb/mdb.c

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

Loading…
Cancel
Save