mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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:
@ -308,7 +308,7 @@ SET DEBUG_SYNC= 'now SIGNAL continue3';
|
||||
# Connection default
|
||||
# Reaping ALTER TABLE ...
|
||||
Warnings:
|
||||
Note 1831 Duplicate index 'i2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
||||
Note 1831 Duplicate index `i2`. This is deprecated and will be disallowed in a future release.
|
||||
SET DEBUG_SYNC= 'RESET';
|
||||
DELETE FROM t1 WHERE a= 3;
|
||||
#
|
||||
@ -358,7 +358,7 @@ SET DEBUG_SYNC= 'now SIGNAL continue4';
|
||||
# Connection default
|
||||
# Reaping ALTER TABLE ...
|
||||
Warnings:
|
||||
Note 1831 Duplicate index 'i4' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
||||
Note 1831 Duplicate index `i4`. This is deprecated and will be disallowed in a future release.
|
||||
SET DEBUG_SYNC= 'RESET';
|
||||
DROP TABLE t1;
|
||||
SET DEBUG_SYNC= 'RESET';
|
||||
|
Reference in New Issue
Block a user