1
0
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:
Sergei Golubchik
2013-04-09 15:34:09 +02:00
parent cda52b2cb2
commit 5ad68a0d2f
8 changed files with 31 additions and 37 deletions

View File

@ -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)