mariadb/storage/innobase/dict
Marko Mäkelä 2e8b0c56a0 MDEV-21933 INFORMATION_SCHEMA.INNODB_SYS_TABLESPACES accesses SYS_DATAFILES
All tablespace metadata is buffered in fil_system. There is a LRU
mechanism, but that only controls the opening and closing of
fil_node_t::handle.

It is much more efficient and less error-prone to access data file names
by looking up the fil_space_t object rather than by essentially joining
each row with an access to SYS_DATAFILES via the InnoDB internal SQL parser.

dict_get_first_path(): Declare static. The function may only be needed
when loading or updating the data dictionary. Also, change a condition
in order to avoid a bogus GCC 10 -Wstringop-overflow warning for
mem_strdupl() about len==ULINT_UNDEFINED.

i_s_sys_tablespaces_fill_table(): Do not access other InnoDB internal
dictionary tables than SYS_TABLESPACES.
2020-03-13 08:07:02 +02:00
..
dict0boot.cc MDEV-20949 Stop issuing 'row size' error on DML 2019-11-13 22:00:55 +07:00
dict0crea.cc Cleanup: Remove dict_delete_tablespace_and_datafiles() 2019-12-27 11:23:28 +02:00
dict0defrag_bg.cc Merge 10.1 into 10.2 2019-07-25 12:14:27 +03:00
dict0dict.cc Merge 10.1 into 10.2 2020-01-31 10:53:56 +02:00
dict0load.cc MDEV-21933 INFORMATION_SCHEMA.INNODB_SYS_TABLESPACES accesses SYS_DATAFILES 2020-03-13 08:07:02 +02:00
dict0mem.cc Merge 10.1 into 10.2 2019-07-25 12:14:27 +03:00
dict0stats.cc MDEV-21512 InnoDB may hang due to SPATIAL INDEX 2020-01-17 14:27:29 +02:00
dict0stats_bg.cc Merge 10.1 into 10.2 2019-07-25 12:14:27 +03:00