|
|
@ -4716,8 +4716,8 @@ mdb_cursor_last(MDB_cursor *mc, MDB_val *key, MDB_val *data) |
|
|
|
} |
|
|
|
} |
|
|
|
assert(IS_LEAF(mc->mc_pg[mc->mc_top])); |
|
|
|
assert(IS_LEAF(mc->mc_pg[mc->mc_top])); |
|
|
|
|
|
|
|
|
|
|
|
mc->mc_ki[mc->mc_top] = NUMKEYS(mc->mc_pg[mc->mc_top]) - 1; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
mc->mc_ki[mc->mc_top] = NUMKEYS(mc->mc_pg[mc->mc_top]) - 1; |
|
|
|
mc->mc_flags |= C_INITIALIZED|C_EOF; |
|
|
|
mc->mc_flags |= C_INITIALIZED|C_EOF; |
|
|
|
leaf = NODEPTR(mc->mc_pg[mc->mc_top], mc->mc_ki[mc->mc_top]); |
|
|
|
leaf = NODEPTR(mc->mc_pg[mc->mc_top], mc->mc_ki[mc->mc_top]); |
|
|
|
|
|
|
|
|
|
|
|