• unknown's avatar
    Fix for bug#20867 InnoDB Bug - create temporary table+crash => mysqld needs to clean up · c99b724f
    unknown authored
    2nd version
    During tmp tables cleanup we get the handler for temporary table
    and delete table using handler method.
    
    
    sql/mysql_priv.h:
      added function prototype
    sql/mysqld.cc:
      added call of mysql_rm_tmp_tables() function
    sql/sql_base.cc:
      mysql_rm_tmp_tables()
      -removed from table_cache_init
      -During tmp tables cleanup we get the handler for temporary table
       and delete table using handler method. 
       it allows to remove orphan records from data dictionary(InnoDB)
    c99b724f
mysqld.cc 247 KB