• Marko Mäkelä's avatar
    Bug#16736929 PAGE_ZIP_DECOMPRESS() FAILS ON EMPTY RECORD · 205bf59a
    Marko Mäkelä authored
    When a record contains no user data bytes (such as when the PRIMARY
    KEY is an empty string and all secondary index fields are NULL or the
    empty string), page_zip_decompress() could fail to set the record
    heap_no correctly.
    
    page_zip_decompress_node_ptrs(), page_zip_decompress_sec(),
    page_zip_decompress_clust(): Set heap_no also at the end of the
    compressed data stream.
    
    rb#2448 approved by Jimmy Yang and Inaam Rana
    205bf59a
page0zip.c 136 KB