• Igor Babaev's avatar
    Fixed bug mdev-487. · d0ad93fb
    Igor Babaev authored
    The function collect_statistics_for_table() when scanning a table
    did not take into account that the handler function ha_rnd_next
    could return the code HA_ERR_RECORD_DELETE that should not be
    considered as an indication of an error.
    Also fixed a potential memory leak in this function.
    d0ad93fb
sql_statistics.cc 85.2 KB