mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-6523 CONNECT temporary table created
check_engine() was not called for assisted discovery
This commit is contained in:
@@ -4372,9 +4372,6 @@ handler *mysql_create_frm_image(THD *thd,
|
||||
DBUG_RETURN(NULL);
|
||||
}
|
||||
|
||||
if (check_engine(thd, db, table_name, create_info))
|
||||
DBUG_RETURN(NULL);
|
||||
|
||||
set_table_default_charset(thd, create_info, (char*) db);
|
||||
|
||||
db_options= create_info->table_options;
|
||||
@@ -4780,6 +4777,9 @@ int create_table_impl(THD *thd,
|
||||
|
||||
THD_STAGE_INFO(thd, stage_creating_table);
|
||||
|
||||
if (check_engine(thd, orig_db, orig_table_name, create_info))
|
||||
goto err;
|
||||
|
||||
if (create_table_mode == C_ASSISTED_DISCOVERY)
|
||||
{
|
||||
/* check that it's used correctly */
|
||||
|
Reference in New Issue
Block a user