• Sergey Vojtovich's avatar
    BUG#51877 - HANDLER interface causes invalid memory read · ba33a335
    Sergey Vojtovich authored
    Invalid memory read if HANDLER ... READ NEXT is executed
    after failed (e.g. empty table) HANDLER ... READ FIRST.
    
    The problem was that we attempted to perform READ NEXT,
    whereas there is no pivot available from failed READ FIRST.
    
    With this fix READ NEXT after failed READ FIRST equals
    to READ FIRST.
    
    This bug affects MyISAM tables only.
    ba33a335
gis-rtree.test 42.7 KB