diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2016-09-06 14:42:33 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2016-09-06 14:42:33 +0400 |
commit | 225440047d145bbe6a92bff05c5d4aa33e0aca91 (patch) | |
tree | 96d93f29a84df1fe66bdabfcc8fd20c9fc326013 /include/mysql.h | |
parent | 00dfe27f7c5a0382d16cac832e879ae9f1cc45e9 (diff) | |
download | mariadb-git-225440047d145bbe6a92bff05c5d4aa33e0aca91.tar.gz |
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.
Diffstat (limited to 'include/mysql.h')
-rw-r--r-- | include/mysql.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mysql.h b/include/mysql.h index 19099b4f404..eab859270f7 100644 --- a/include/mysql.h +++ b/include/mysql.h @@ -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 */ |