diff options
Diffstat (limited to 'mysql-test/t/create.test')
-rw-r--r-- | mysql-test/t/create.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/create.test b/mysql-test/t/create.test index 10ee41ca2aa..0d260085129 100644 --- a/mysql-test/t/create.test +++ b/mysql-test/t/create.test @@ -1763,3 +1763,9 @@ drop function f1; # --error ER_TABLE_MUST_HAVE_COLUMNS create table t1; + +# +# MDEV-11231 Server crashes in check_duplicate_key on CREATE TABLE ... SELECT +# +create table t1 (i int, j int, key(i), key(i)) as select 1 as i, 2 as j; +drop table t1; |