|
|
@ -7007,8 +7007,10 @@ fetchm: |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
if (!(mc->mc_flags & C_INITIALIZED)) |
|
|
|
if (!(mc->mc_flags & C_INITIALIZED)) |
|
|
|
rc = mdb_cursor_first(mc, key, data); |
|
|
|
rc = mdb_cursor_last(mc, key, data); |
|
|
|
else { |
|
|
|
else |
|
|
|
|
|
|
|
rc = MDB_SUCCESS; |
|
|
|
|
|
|
|
if (rc == MDB_SUCCESS) { |
|
|
|
MDB_cursor *mx = &mc->mc_xcursor->mx_cursor; |
|
|
|
MDB_cursor *mx = &mc->mc_xcursor->mx_cursor; |
|
|
|
if (mx->mc_flags & C_INITIALIZED) { |
|
|
|
if (mx->mc_flags & C_INITIALIZED) { |
|
|
|
rc = mdb_cursor_sibling(mx, 0); |
|
|
|
rc = mdb_cursor_sibling(mx, 0); |
|
|
|