• Sergey Vojtovich's avatar
    Applying InnoDB snapshot, fixes BUG#41609. · 91111174
    Sergey Vojtovich authored
    Detailed revision comments:
    
    r6252 | marko | 2009-11-30 12:50:11 +0200 (Mon, 30 Nov 2009) | 23 lines
    branches/zip: Suppress errors about non-found temporary tables.
    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.
    91111174
dict0mem.c 8.24 KB