Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.4(EOL)
-
None
Description
Discard tablespace break foreign key constraint. So disallow the discard operation when foreign_key_checks
is enabled.
CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB;
|
CREATE TABLE t2 (a INT, b TEXT, FOREIGN KEY(a) REFERENCES t1(a),
|
FULLTEXT (b))ENGINE=InnoDB;
|
ALTER TABLE t2 DISCARD TABLESPACE;
|
Attachments
Issue Links
- relates to
-
MDEV-32346 InnoDB: Failing assertion: sym_node->table != NULL in pars_retrieve_table_def on UPDATE
- Closed