Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.4(EOL)
-
None
Description
--source include/have_innodb.inc
|
|
CREATE TABLE t1 (pk INT NOT NULL, UNIQUE (pk)) ENGINE=InnoDB; |
ALTER TABLE t1 ADD PRIMARY KEY (pk); |
|
# Cleanup
|
DROP TABLE t1; |
10.4 5d2619b6 |
mysqltest: At line 4: query 'ALTER TABLE t1 ADD PRIMARY KEY (pk)' failed: 1280: Incorrect index name 'pk'
|
Not reproducible on 10.3.
Attachments
Issue Links
- duplicates
-
MDEV-22635 Cannot add PK when identical UNIQUE key exists
- Closed