• Marko Mäkelä's avatar
    Bug#13358468 ASSERTION FAILURE IN BTR_PCUR_GET_BLOCK · 77eb01b8
    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
    77eb01b8
btr0pcur.h 20.3 KB