diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-03-19 14:23:47 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-03-19 14:23:47 +0200 |
commit | 6960e9ed24dbdab587730cdceab1f29bcdd6d52a (patch) | |
tree | 9f0e495db2eb4a9c2608f5e52faab764c650b40e /include | |
parent | 9fd692aecacfc944fd3a6a58f4cae5a49eeb1cf0 (diff) | |
download | mariadb-git-6960e9ed24dbdab587730cdceab1f29bcdd6d52a.tar.gz |
MDEV-21983: Crash on DROP/RENAME TABLE after DISCARD TABLESPACE
fil_delete_tablespace(): Remove the unused parameter drop_ahi,
and add the parameter if_exists=false. We want to suppress
error messages if we know that the tablespace has been discarded.
dict_table_rename_in_cache(): Pass the new parameter to
fil_delete_tablespace(), that is, do not complain about
missing tablespace if the tablespace has been discarded.
row_make_new_pathname(): Declare as static.
row_drop_table_for_mysql(): Tolerate !table->data_dir_path
when the tablespace has been discarded.
row_rename_table_for_mysql(): Skip part of the RENAME TABLE
when fil_space_get_first_path() returns NULL.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions