MDEV-6184 10.0.11 merge

InnoDB 5.6.16
This commit is contained in:
Sergei Golubchik 2014-05-06 09:57:39 +02:00
commit e2e5d07b28
70 changed files with 2733 additions and 1072 deletions

View file

@ -588,3 +588,19 @@ btr_pcur_close(
cursor->trx_if_known = NULL;
}
/*********************************************************//**
Moves the persistent cursor to the infimum record on the same page. */
UNIV_INLINE
void
btr_pcur_move_before_first_on_page(
/*===============================*/
btr_pcur_t* cursor) /*!< in/out: persistent cursor */
{
ut_ad(cursor->latch_mode != BTR_NO_LATCHES);
page_cur_set_before_first(btr_pcur_get_block(cursor),
btr_pcur_get_page_cur(cursor));
cursor->old_stored = BTR_PCUR_OLD_NOT_STORED;
}