• Vlad Lesin's avatar
    MDEV-14183: aria_pack segfaults in compress_maria_file · 4e7f3fb8
    Vlad Lesin authored
    Column definition order in st_maria_share::columndef can differ from
    order of fields in record(see also st_maria_share::column_nr,
    st_maria_columndef::column_nr, _ma_column_nr_write(),
    _ma_column_nr_read()). This was not taken into account in aria_pack
    tool.
    
    The fix is to initialize elements of HUFF_COUNTS array in the correct
    order.
    4e7f3fb8
aria_pack_mdev14183.test 562 Bytes