• Sergey Vojtovich's avatar
    Simplified away statistics_for_tables_is_needed() · 1055a7f4
    Sergey Vojtovich authored
    Removed redundant loops, integrated logics into the caller instead.
    Unified condition in read_statistics_for_tables(), less
    "table_share != NULL" checks, no more potential "table_share == NULL"
    dereferencing.
    
    Part of MDEV-19061 - table_share used for reading statistical tables is
                         not protected
    1055a7f4
sql_statistics.cc 121 KB