• marko's avatar
    branches/zip: Suppress errors about non-found temporary tables. · b1d5011c
    marko authored
    Write the is_temp flag to SYS_TABLES.MIX_LEN.
    
    dict_table_t::flags: Add a flag for is_temporary, DICT_TF2_TEMPORARY.
    Unlike other flags, this will not be written to the tablespace flags
    or SYS_TABLES.TYPE, but only to SYS_TABLES.MIX_LEN.
    
    dict_build_table_def_step(): Only pass DICT_TF_BITS to tablespaces.
    
    dict_check_tablespaces_and_store_max_id(), dict_load_table():
    Suppress errors about temporary tables not being found.
    
    dict_create_sys_tables_tuple(): Write the DICT_TF2_TEMPORARY flag
    to SYS_TABLES.MIX_LEN.
    
    fil_space_create(), fil_create_new_single_table_tablespace(): Add assertions
    about space->flags.
    
    row_drop_table_for_mysql(): Do not complain about non-found temporary tables.
    
    rb://160 approved by Heikki Tuuri.  This addresses the second part of
    Bug #41609 Crash recovery does not work for InnoDB temporary tables.
    b1d5011c
dict0mem.h 19.9 KB