diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-12-02 14:34:45 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-12-04 01:59:35 +0100 |
commit | 7f2fd345004f9774cd1b6e00c8f67e719660cecc (patch) | |
tree | 301b756150add731b06fedc48111635342ef4c08 /mysql-test/suite/maria/icp.result | |
parent | c5ef62159994b45e740a9b3f19c2b9cc8c265916 (diff) | |
download | mariadb-git-7f2fd345004f9774cd1b6e00c8f67e719660cecc.tar.gz |
MDEV-11231 Server crashes in check_duplicate_key on CREATE TABLE ... SELECT
be consistent and don't include the table name into the error message,
no other CREATE TABLE error does it.
(the crash happened, because thd->lex->query_tables was NULL)
Diffstat (limited to 'mysql-test/suite/maria/icp.result')
-rw-r--r-- | mysql-test/suite/maria/icp.result | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/suite/maria/icp.result b/mysql-test/suite/maria/icp.result index 85a21ada47d..1c11072cbde 100644 --- a/mysql-test/suite/maria/icp.result +++ b/mysql-test/suite/maria/icp.result @@ -718,8 +718,8 @@ b INT, c INT, d DATE NOT NULL, e VARCHAR(1), KEY (c), KEY (d), KEY k2(b), KEY k3(b), KEY k4(b) ); Warnings: -Note 1831 Duplicate index 'k3' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release. -Note 1831 Duplicate index 'k4' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release. +Note 1831 Duplicate index `k3`. This is deprecated and will be disallowed in a future release. +Note 1831 Duplicate index `k4`. This is deprecated and will be disallowed in a future release. INSERT INTO t1 (b,c,d,e) VALUES (6,5,'2006-05-25','y'),(1,5,'2008-01-23','t'), (6,5,'2007-06-18','d'),(4,5,'1900-01-01','r'), |