mariadb/storage/innobase/dict
Marko Mäkelä 770231f355 Remove dict_disable_redo_if_temporary()
The function dict_disable_redo_if_temporary() was supposed to
disable redo logging for temporary tables. It was invoked
unnecessarily for two read-only operations:
row_undo_search_clust_to_pcur() and
dict_stats_update_transient_for_index().

When a table is not temporary and not in the system tablespace,
the tablespace should be flagged for MLOG_FILE_NAME logging.
We do not need this overhead for temporary tables. Therefore,
either mtr_t::set_log_mode() or mtr_t::set_named_space() should
be invoked.

dict_table_t::is_temporary(): Determine if a table is temporary.

dict_table_is_temporary(): Redefined as a macro wrapper for
dict_table_t::is_temporary().

dict_disable_redo_if_temporary(): Remove.
2017-10-03 11:37:38 +03:00
..
dict0boot.cc Remove dict_disable_redo_if_temporary() 2017-10-03 11:37:38 +03:00
dict0crea.cc Remove a constant parameter commit=false 2017-10-02 11:27:53 +03:00
dict0defrag_bg.cc Remove DICT_UNIVERSAL 2017-09-20 08:44:40 +03:00
dict0dict.cc Remove dict_table_t::big_rows 2017-10-02 11:43:30 +03:00
dict0load.cc Remove a constant parameter commit=false 2017-10-02 11:27:53 +03:00
dict0mem.cc Merge 10.1 into 10.2 2017-05-05 10:38:53 +03:00
dict0stats.cc Remove dict_disable_redo_if_temporary() 2017-10-03 11:37:38 +03:00
dict0stats_bg.cc Merge 10.1 into 10.2 2017-06-12 17:43:07 +03:00