diff options
Diffstat (limited to 'mysql-test/r/constraints.result')
-rw-r--r-- | mysql-test/r/constraints.result | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/constraints.result b/mysql-test/r/constraints.result index 3821a18b072..3bec2c3e16d 100644 --- a/mysql-test/r/constraints.result +++ b/mysql-test/r/constraints.result @@ -17,7 +17,11 @@ drop table t1; create table t1 (a int null); alter table t1 add constraint constraint_1 unique (a); alter table t1 add constraint unique key_1(a); +Warnings: +Note 1831 Duplicate index 'key_1' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release. alter table t1 add constraint constraint_2 unique key_2(a); +Warnings: +Note 1831 Duplicate index 'key_2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release. show create table t1; Table Create Table t1 CREATE TABLE `t1` ( |