mirror of
https://github.com/MariaDB/server.git
synced 2026-05-17 20:37:12 +02:00
MDEV-17544 No warning when trying to name a primary key constraint.
Warning added.
This commit is contained in:
parent
4b5a14d0fe
commit
c6efbc543d
28 changed files with 115 additions and 19 deletions
|
|
@ -6,6 +6,8 @@ family_name varchar(30) not null,
|
|||
score int not null,
|
||||
primary key property (given_name, family_name, score)
|
||||
) default charset utf8;
|
||||
Warnings:
|
||||
Warning 1280 Name 'property' ignored for PRIMARY key.
|
||||
show create table scores;
|
||||
Table Create Table
|
||||
scores CREATE TABLE `scores` (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue