• Igor Babaev's avatar
    MDEV-16757 Memory leak after adding manually min/max statistical data · c89bb15c
    Igor Babaev authored
               for blob column
    
    ANALYZE TABLE <table> does not collect statistical data on min/max values
    for BLOB columns of <table>. However these values can be added into
    mysql.column_stats manually by executing proper statements.
    Unfortunately this led to a memory leak because the memory allocated
    for these values was never freed.
    This patch provides the server with a function to free memory allocated
    for min/max statistical values of BLOB types.
    c89bb15c
sql_statistics.h 10.8 KB