• unknown's avatar
    Fix for bug#20867 InnoDB Bug - create temporary table+crash => mysqld needs to clean up · ac71a8fa
    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)
    ac71a8fa
mysql_priv.h 50.7 KB