• Igor Babaev's avatar
    Added procedures to delete records by keys from statistical tables. · 47fae7f0
    Igor Babaev authored
    Now when a table is dropped the statistics on the table is removed 
    from the statistical tables. If the table is altered in such a way
    that a column is dropped or the type of the column is changed then
    statistics on the column is removed from the table column_stat.
    It also triggers removal of the statistics on the indexes who use
    this column as its component.
    
    Added procedures that changes the names of the tables or columns
    in the statistical tables for. 
    These procedures are used when tables/columns are renamed.
    
    Also partly re-factored the code that introduced the persistent
    statistical tables.
    
    Added test cases into statistics.test to cover the new code.
    47fae7f0
myisam_file_io.result 3.04 KB