mariadb/storage/xtradb/dict
Jan Lindström 92cbe388b6 MDEV-13325: InnoDB assert dict_sys->size > 0 during ALTER TABLE
Problem was that dict_sys->size tries to maintain used memory
occupied by the data dictionary table and index objects.
However at least on table objects table->heap size can increase
between when table object is inserted to dict_sys and when
it is removed from dict_sys causing inconsistency on amount
of memory added to and removed from dict_sys->size variable.

Removed unnecessary dict_sys:size variable as it is really
used only for status output.

Introduced dict_sys_get_size function to calculate memory
occupied by the data dictionary table and index objects
that is then used on show engine innodb output.

dict_table_add_to_cache(),
dict_table_rename_in_cache(),
dict_table_remove_from_cache_low(),
dict_index_remove_from_cache_low(),
	Remove size calculation.

srv_printf_innodb_monitor(): Use dict_sys_get_size function to
get dictionary memory allocated.

xtradb_internal_hash_tables_fill_table(): Use dict_sys_get_size
function to get dictionary memory allocated.
2017-07-21 16:05:20 +03:00
..
dict0boot.cc Merge branch 'merge-xtradb-5.6' into 10.0 2017-05-17 12:11:12 +03:00
dict0crea.cc MDEV-11694 InnoDB tries to create unused table SYS_ZIP_DICT 2017-01-03 19:32:47 +02:00
dict0dict.cc MDEV-13325: InnoDB assert dict_sys->size > 0 during ALTER TABLE 2017-07-21 16:05:20 +03:00
dict0load.cc MDEV-11694 InnoDB tries to create unused table SYS_ZIP_DICT 2017-01-03 19:32:47 +02:00
dict0mem.cc MDEV-6262 analyze the coverity report on mariadb 2017-05-19 20:26:56 +02:00
dict0stats.cc Merge branch 'merge-xtradb-5.6' into 10.0 2017-05-17 12:11:12 +03:00
dict0stats_bg.cc MDEV-13039 innodb_fast_shutdown=0 may fail to purge all undo log 2017-06-09 16:20:42 +03:00