232 |
t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= index) |
t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= index) |
233 |
++t->bt_cursor.pg.index; |
++t->bt_cursor.pg.index; |
234 |
|
|
235 |
if (t->bt_order == NOT) |
if (t->bt_order == NOT) { |
236 |
if (h->nextpg == P_INVALID) { |
if (h->nextpg == P_INVALID) { |
237 |
if (index == NEXTINDEX(h) - 1) { |
if (index == NEXTINDEX(h) - 1) { |
238 |
t->bt_order = FORWARD; |
t->bt_order = FORWARD; |
246 |
t->bt_last.pgno = h->pgno; |
t->bt_last.pgno = h->pgno; |
247 |
} |
} |
248 |
} |
} |
249 |
|
} |
250 |
mpool_put(t->bt_mp, h, MPOOL_DIRTY); |
mpool_put(t->bt_mp, h, MPOOL_DIRTY); |
251 |
|
|
252 |
success: |
success: |