• Vicențiu Ciorbaru's avatar
    MDEV-7362: ANALYZE TABLES crash with table-independent-statistics gathering · 09d54b37
    Vicențiu Ciorbaru authored
    FULLTEXT indexes do not permit index first lookups. By calling:
    ha_index_first() with a garbage parameter, random data gets overwritten
    that causes the table->field array to be corrupted. Subsequently, when
    the field array is accessed, a segfault occurs.
    
    By not allowing index statistics for FULLTEXT indexes, the problem is
    resolved.
    09d54b37
sql_statistics.cc 112 KB