mirror of
https://github.com/MariaDB/server.git
synced 2026-10-23 18:49:29 +03:00
post-push fix for bug17565888.
Too restrictive assertion, can fail during purge
This commit is contained in:
@@ -164,7 +164,8 @@ btr_pcur_is_after_last_on_page(
|
||||
/*===========================*/
|
||||
const btr_pcur_t* cursor) /*!< in: persistent cursor */
|
||||
{
|
||||
ut_ad(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
|
||||
ut_ad(cursor->pos_state == BTR_PCUR_IS_POSITIONED_OPTIMISTIC
|
||||
|| cursor->pos_state == BTR_PCUR_IS_POSITIONED);
|
||||
ut_ad(cursor->latch_mode != BTR_NO_LATCHES);
|
||||
|
||||
return(page_cur_is_after_last(btr_pcur_get_page_cur(cursor)));
|
||||
|
||||
Reference in New Issue
Block a user