1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00
Files
mariadb/mysql-test/suite/innodb/r
Thirunarayanan Balathandayuthapani 2c6d5c92c7 MDEV-25642 InnoDB rename table copy DDL fails while dropping the table
When doing a ALTER TABLE ... RENAME, MariaDB doesn't rename
original table to #sql-backup, which it does in other cases,
but insteads drops the original table directly. However
this optimization doesn't work in case of InnoDB table
with a foreign key constraint.

During copy algorithm, InnoDB fails to rename the foreign key
constraint(MDEV-25855). With this optimisation, InnoDB also
fails to drop the original table because the table has
FOREIGN Key constraint exist in INNODB_SYS_FOREIGN table.
This leads to orphan .ibd file in InnoDB dictionary.
so disabling this optimization when FK is involved.

Reviewer: monty@mariadb.org
2021-06-09 20:19:21 +05:30
..
2020-05-05 20:33:10 +03:00
2020-05-26 11:54:55 +03:00
2019-04-05 11:41:03 +03:00
2019-07-18 18:01:04 +03:00
2019-07-22 15:28:05 +03:00
2021-04-25 12:04:45 +03:00
2020-09-03 15:53:38 +03:00
2019-08-21 15:23:45 +03:00
2019-03-25 17:18:15 +02:00
2021-01-13 18:54:53 +02:00
2019-04-25 16:05:20 +03:00
2019-07-16 18:39:21 +03:00
2019-07-25 18:42:06 +03:00
2020-04-25 21:57:52 +03:00
2021-03-19 11:42:44 +02:00
2020-08-13 18:18:25 +03:00
2020-03-21 11:37:10 +02:00
2021-03-08 10:16:20 +02:00
2020-11-03 16:24:47 +02:00
2020-05-05 21:16:22 +03:00
2021-05-03 14:34:48 +03:00
2020-07-31 13:51:28 +03:00
2020-10-29 13:38:38 +02:00
2019-07-16 18:39:21 +03:00
2018-11-06 09:40:39 +02:00
2020-09-23 11:32:43 +03:00
2019-07-02 21:44:58 +03:00
2020-09-22 14:33:03 +03:00
2019-05-04 17:04:55 +02:00
2020-04-16 12:12:26 +03:00
2020-06-05 18:05:22 +03:00