mirror of
https://github.com/MariaDB/server.git
synced 2025-12-06 05:42:06 +03:00
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)
This commit is contained in:
@@ -253,7 +253,7 @@ end
|
||||
delete from t2;
|
||||
alter table t2 add unique (a);
|
||||
Warnings:
|
||||
Note 1831 Duplicate index 'a_2' defined on the table 'mysqltest1.t2'. This is deprecated and will be disallowed in a future release.
|
||||
Note 1831 Duplicate index `a_2`. This is deprecated and will be disallowed in a future release.
|
||||
drop function fn1;
|
||||
create function fn1(x int)
|
||||
returns int
|
||||
|
||||
Reference in New Issue
Block a user