Bug #71784 discard/import tablespace for partitioned table
Submitted: 21 Feb 2014 7:50 Modified: 26 Feb 2014 10:11
Reporter: xiaobin lin (OCA) Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: InnoDB storage engine Severity:S3 (Non-critical)
Version:5.6 OS:Any
Assigned to: CPU Architecture:Any
Tags: partitioned table, transportable tablespace

[21 Feb 2014 7:50] xiaobin lin
alter table tbl discard/import tablespace do not support in 5.6 now.
It makes the transportable tablespace feature from being used in partitioned tables.

How to repeat:
as code

Suggested fix:
support it. eg code in attachement.
[21 Feb 2014 7:51] xiaobin lin
based on 5.6.13

(*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: 5613_transportable_tablespace (application/octet-stream, text), 1.17 KiB.

[25 Feb 2014 11:00] Umesh Shastry
Hello xiaobin,

Thank you for the report and contribution.

[26 Feb 2014 10:11] Mattias Jonsson
Thank you for your contribution. I recently did a very similar code change and that is now pushed for inclusion in 5.7.4.