diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-05-12 10:11:38 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-05-12 22:12:12 +0300 |
commit | 5e84ea9634ac491f3da84f6c15987d4c1b1a5a3a (patch) | |
tree | 4bf3f715351a54b3a222ba929ca92575d1afeb0f /dbug | |
parent | c57e9835ff74f4b88fea7053ea378a3d59685190 (diff) | |
download | mariadb-git-5e84ea9634ac491f3da84f6c15987d4c1b1a5a3a.tar.gz |
MDEV-12266: Remove dict_table_is_discarded()
The predicate dict_table_is_discarded() checks whether
ALTER TABLE…DISCARD TABLESPACE has been executed.
Replace most occurrences of dict_table_is_discarded() with
checks of dict_table_t::space. A few checks for the flag
DICT_TF2_DISCARDED are necessary; write them inline.
Because !is_readable() implies !space, some checks for
dict_table_is_discarded() were redundant.
Diffstat (limited to 'dbug')
0 files changed, 0 insertions, 0 deletions