Browse Source
branches/zip: Suppress errors about non-found temporary tables.
branches/zip: Suppress errors about non-found temporary tables.
Write the is_temp flag to SYS_TABLES.MIX_LEN. dict_table_t:🎏 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.pull/374/head
9 changed files with 143 additions and 50 deletions
-
10ChangeLog
-
3dict/dict0boot.c
-
17dict/dict0crea.c
-
113dict/dict0load.c
-
2dict/dict0mem.c
-
9fil/fil0fil.c
-
4handler/ha_innodb.cc
-
24include/dict0mem.h
-
11row/row0mysql.c
Write
Preview
Loading…
Cancel
Save
Reference in new issue