diff options
Diffstat (limited to 'storage/innobase/include/dict0dict.ic')
-rw-r--r-- | storage/innobase/include/dict0dict.ic | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/storage/innobase/include/dict0dict.ic b/storage/innobase/include/dict0dict.ic index f04f8faa686..134a4d63066 100644 --- a/storage/innobase/include/dict0dict.ic +++ b/storage/innobase/include/dict0dict.ic @@ -1495,32 +1495,6 @@ dict_table_is_discarded( return(DICT_TF2_FLAG_IS_SET(table, DICT_TF2_DISCARDED)); } -/********************************************************************//** -Check if it is a temporary table. -@return true if temporary table flag is set. */ -UNIV_INLINE -bool -dict_table_is_temporary( -/*====================*/ - const dict_table_t* table) /*!< in: table to check */ -{ - return(DICT_TF2_FLAG_IS_SET(table, DICT_TF2_TEMPORARY)); -} - -/********************************************************************//** -Turn-off redo-logging if temporary table. */ -UNIV_INLINE -void -dict_disable_redo_if_temporary( -/*===========================*/ - const dict_table_t* table, /*!< in: table to check */ - mtr_t* mtr) /*!< out: mini-transaction */ -{ - if (dict_table_is_temporary(table)) { - mtr_set_log_mode(mtr, MTR_LOG_NO_REDO); - } -} - /** Check if the table is found is a file_per_table tablespace. This test does not use table flags2 since some REDUNDANT tables in the system tablespace may have garbage in the MIX_LEN field where flags2 is |