mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-17544 No warning when trying to name a primary key constraint.
Warning added.
This commit is contained in:
@@ -47,6 +47,8 @@ COUNT(*)
|
||||
>>> Something was written to binary log <<<
|
||||
connection master;
|
||||
ALTER TABLE t1 ADD PRIMARY KEY pk_t1 (a,b);
|
||||
Warnings:
|
||||
Warning 1280 Name 'pk_t1' ignored for PRIMARY key.
|
||||
connection slave;
|
||||
connection master;
|
||||
INSERT INTO t1 VALUES (1,2,1),(2,2,2),(3,2,3),(4,2,4);
|
||||
|
Reference in New Issue
Block a user