mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
post-push fix for bug17565888.
Too restrictive assertion, failing during purge
This commit is contained in:
parent
e6a734a7cf
commit
a91fcaf460
1 changed files with 2 additions and 1 deletions
|
@ -91,7 +91,8 @@ btr_pcur_get_block(
|
|||
/*===============*/
|
||||
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);
|
||||
|
||||
return(btr_cur_get_block(btr_pcur_get_btr_cur(cursor)));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue