• Marko Mäkelä's avatar
    Bug#13358468 ASSERTION FAILURE IN BTR_PCUR_GET_BLOCK · f62a233a
    Marko Mäkelä authored
    btr_pcur_restore_position_func(): When the cursor was positioned at
    the tree infimum or supremum, initialize pos_state and latch_mode. The
    assertion failed, because pos_state was BTR_PCUR_WAS_POSITIONED.  In
    the test failure of WL#5874, the purge thread attempted to restore the
    cursor position on the infimum record (the clustered index was empty).
    
    btr_pcur_detach(), btr_pcur_is_detached(): Unused functions, remove.
    
    rb:804 approved by Inaam Rana
    f62a233a
btr0pcur.ic 16.8 KB