| Bug #11635 | mysqldump exports TYPE instead of USING for PRIMARY KEY indexes | ||
|---|---|---|---|
| Submitted: | 29 Jun 2005 12:20 | Modified: | 14 Jul 2005 20:49 |
| Reporter: | Josh Chamas | ||
| Status: | Closed | ||
| Category: | Server | Severity: | S3 (Non-critical) |
| Version: | 4.1.12 | OS: | Linux (Linux 2.6.4, SUSE) |
| Assigned to: | Magnus Svensson | Target Version: | |
[29 Jun 2005 12:20]
Josh Chamas
[7 Jul 2005 14:44]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/26761
[7 Jul 2005 14:59]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/26762
[7 Jul 2005 15:49]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/26767
[8 Jul 2005 11:15]
Magnus Svensson
The problem occured becuase when using the TYPE keyword ti indicate the index_type it must
be prefixed with name of the index, and that is not output for the primary key.
Ex:
create table t1 (
c1 int NOT NULL,
c2 int NOT NULL,
PRIMARY KEY TYPE HASH (c1)
^^ index_name missing
);
The output from SHOW CREATE TABLE was changed to always use the USING keyword where the
index_name is optional. This change was already incorporated into 5.0.
Pushed to 4.1.13
[14 Jul 2005 20:49]
Paul DuBois
Noted in 4.1.13 changelog.
