mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
don't use I_S constants for open_table_def and get_table_share,
have a specially defined enum with clearly named values
This commit is contained in:
@ -4023,7 +4023,7 @@ static bool check_if_created_table_can_be_opened(THD *thd,
|
||||
|
||||
init_tmp_table_share(thd, &share, db, 0, table_name, path);
|
||||
|
||||
result= (open_table_def(thd, &share, 0) ||
|
||||
result= (open_table_def(thd, &share) ||
|
||||
open_table_from_share(thd, &share, "", 0, (uint) READ_ALL,
|
||||
0, &table, TRUE));
|
||||
if (! result)
|
||||
|
Reference in New Issue
Block a user