mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
branches/zip: ha_innobase::add_index(): Remove a remark about row0mysql.c
in a comment about latching the data dictionary. The data dictionary may be latched elsewhere too.
This commit is contained in:
parent
c13f191357
commit
8462fba615
1 changed files with 1 additions and 2 deletions
|
@ -8405,8 +8405,7 @@ err_exit:
|
|||
heap, num_of_idx * sizeof *index);
|
||||
|
||||
/* Latch the InnoDB data dictionary exclusively so that no deadlocks
|
||||
or lock waits can happen in it during an index create operation.
|
||||
Drop table etc. do this latching in row0mysql.c. */
|
||||
or lock waits can happen in it during an index create operation. */
|
||||
|
||||
if (UNIV_LIKELY(!dict_locked)) {
|
||||
row_mysql_lock_data_dictionary(trx);
|
||||
|
|
Loading…
Reference in a new issue