Commit f9ee2a51 authored by Yuchen Pei's avatar Yuchen Pei

updating some comments

parent 23422c45
...@@ -10588,9 +10588,8 @@ create_table_info_t::create_table_def() ...@@ -10588,9 +10588,8 @@ create_table_info_t::create_table_def()
? doc_id_col : n_cols - num_v; ? doc_id_col : n_cols - num_v;
} }
/* Set file_unreadable to avoid is_readable() assertion /* Assume the tablespace is not available until we are able to
errors. Semantically we assume the tablespace is not available import it.*/
until we are able to import it.*/
if (thd_ddl_options(m_thd)->import_tablespace()) if (thd_ddl_options(m_thd)->import_tablespace())
table->file_unreadable = true; table->file_unreadable = true;
...@@ -11608,8 +11607,7 @@ bool create_table_info_t::innobase_table_flags() ...@@ -11608,8 +11607,7 @@ bool create_table_info_t::innobase_table_flags()
} }
/* If we are trying to import a tablespace, mark tablespace as /* If we are trying to import a tablespace, mark tablespace as
discarded. Without this dict_create_index_space() will attempt to discarded. */
create a tablespace. */
if (thd_ddl_options(m_thd)->import_tablespace()) if (thd_ddl_options(m_thd)->import_tablespace())
m_flags2 |= DICT_TF2_DISCARDED; m_flags2 |= DICT_TF2_DISCARDED;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment