[MDEV-21149] Query ALTER TABLE .. ENGINE = MERGE succeed, while error is expected Created: 2019-11-26  Updated: 2023-04-27

Status: Open
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5, 10.0, 10.1, 10.2, 10.3, 10.4
Fix Version/s: 10.4

Type: Bug Priority: Major
Reporter: Alice Sherepa Assignee: Oleksandr Byelkin
Resolution: Unresolved Votes: 0
Labels: None


 Description   

CREATE TABLE t (i1 int) ;
ALTER TABLE t ENGINE = MERGE UNION ( t1 , t2 ); ## t1, t2 do not exist - the error is expected
ALTER TABLE t ENGINE = MERGE UNION ( t1 , t2 );  # but here query returned the error
 
drop table t;

CREATE TABLE t (i1 int) ;
ALTER TABLE t ENGINE = MERGE UNION ( t1 , t2 );
ALTER TABLE t ENGINE = MERGE UNION ( t1 , t2 );
main.1_my 'innodb'                       [ fail ]
 
CURRENT_TEST: main.1_my
mysqltest: At line 26: query 'ALTER TABLE t ENGINE = MERGE UNION ( t1 , t2 )' failed: 1168: Unable to open underlying table which is differently defined or of non-MyISAM type or doesn't exist


Generated at Thu Feb 08 09:04:57 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.