1
0
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:
Sergei Golubchik
2014-09-10 13:22:20 +02:00
parent 4ff2a680ab
commit b2c54a9a69
3 changed files with 22 additions and 3 deletions

View File

@@ -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 */