Commit a91fcaf4 authored by Mattias Jonsson's avatar Mattias Jonsson

post-push fix for bug17565888.

Too restrictive assertion, failing during purge
parent e6a734a7
...@@ -91,7 +91,8 @@ btr_pcur_get_block( ...@@ -91,7 +91,8 @@ btr_pcur_get_block(
/*===============*/ /*===============*/
const btr_pcur_t* cursor) /*!< in: persistent cursor */ 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))); return(btr_cur_get_block(btr_pcur_get_btr_cur(cursor)));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment