diff options
Diffstat (limited to 'storage/innobase/row/row0import.cc')
-rw-r--r-- | storage/innobase/row/row0import.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/storage/innobase/row/row0import.cc b/storage/innobase/row/row0import.cc index 07124f6c8f9..f3a583d1564 100644 --- a/storage/innobase/row/row0import.cc +++ b/storage/innobase/row/row0import.cc @@ -1411,8 +1411,6 @@ row_import::set_root_by_heuristic() UNIV_NOTHROW " the tablespace has " << m_n_indexes << " indexes"; } - dict_sys.mutex_lock(); - ulint i = 0; dberr_t err = DB_SUCCESS; @@ -1452,8 +1450,6 @@ row_import::set_root_by_heuristic() UNIV_NOTHROW } } - dict_sys.mutex_unlock(); - return(err); } @@ -4098,8 +4094,6 @@ row_import_for_mysql( } /* Open the tablespace so that we can access via the buffer pool. - We set the 2nd param (fix_dict = true) here because we already - have locked dict_sys.latch and dict_sys.mutex. The tablespace is initially opened as a temporary one, because we will not be writing any redo log for it before we have invoked fil_space_t::set_imported() to declare it a persistent tablespace. */ |