mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
MDEV-10421 duplicate CHECK CONSTRAINTs.
mysql_prepare_create_table fixed so it doesn't let duplicating
constraint names. Syntax for CONSTRAINT IF NOT EXISTS added
and handled in mysql_alter_table.
This commit is contained in:
parent
00dfe27f7c
commit
225440047d
10 changed files with 107 additions and 8 deletions
|
|
@ -137,6 +137,7 @@ typedef unsigned long long my_ulonglong;
|
|||
/* backward compatibility define - to be removed eventually */
|
||||
#define ER_WARN_DATA_TRUNCATED WARN_DATA_TRUNCATED
|
||||
#define WARN_PLUGIN_DELETE_BUILTIN ER_PLUGIN_DELETE_BUILTIN
|
||||
#define ER_FK_DUP_NAME ER_DUP_CONSTRAINT_NAME
|
||||
|
||||
typedef struct st_mysql_rows {
|
||||
struct st_mysql_rows *next; /* list of rows */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue