diff options
author | Monty <monty@mariadb.org> | 2019-05-08 23:12:01 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2019-05-23 01:20:18 +0300 |
commit | 007f68c37f6b77588866a04d7515aca084ab950d (patch) | |
tree | 8f72bf202a88bd716c75adfe5cb5eb111f4c0ca4 /sql/ha_partition.cc | |
parent | 96037a6f0337bab5b1468e64ef5cd87c6f1751ba (diff) | |
download | mariadb-git-007f68c37f6b77588866a04d7515aca084ab950d.tar.gz |
Replace ha_notify_table_changed() with notify_tabledef_changed()
Reason for the change was that ha_notify_table_changed() was done
after table open when .frm had been replaced, which caused failure
in engines that checks on open if .frm matches the engines table
definition.
Other changes:
- Remove not needed open/close call at end of inline alter table.
Some test that depended on the table beeing in the table cache after
ALTER TABLE had to be updated.
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r-- | sql/ha_partition.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index 9dcd57a5f82..9ae2a7077c5 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -10202,19 +10202,6 @@ end: } -void ha_partition::notify_table_changed() -{ - handler **file; - - DBUG_ENTER("ha_partition::notify_table_changed"); - - for (file= m_file; *file; file++) - (*file)->ha_notify_table_changed(); - - DBUG_VOID_RETURN; -} - - uint ha_partition::min_of_the_max_uint( uint (handler::*operator_func)(void) const) const { |