Bug #97591 | Create table structure from temporary table missing primary key definition | ||
---|---|---|---|
Submitted: | 12 Nov 2019 2:34 | Modified: | 14 Nov 2019 13:40 |
Reporter: | Zhiyong Dai | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: DDL | Severity: | S4 (Feature request) |
Version: | 8.0.17 | OS: | Windows (windows 10 home) |
Assigned to: | CPU Architecture: | x86 (x86_64) | |
Tags: | CREATE TABLE, DDL |
[12 Nov 2019 2:34]
Zhiyong Dai
[14 Nov 2019 13:40]
MySQL Verification Team
Hello Mr. Dai, Thank you for your feature request. However, it can not be accepted. First of all, filling table with SELECT from any other table does not create table with the exact structure like the original. This is fully described in our Reference Manual. Second, if you wish to create table with the same structure, you should read that manual, which has in it a description of the command of this sort: CREATE TABLE ........... LIKE ............; Last, MyISAM storage engine does not support constraints.