Commit a9c7b3c5 authored by marko's avatar marko

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.
parent 64dfb280
...@@ -8405,8 +8405,7 @@ err_exit: ...@@ -8405,8 +8405,7 @@ err_exit:
heap, num_of_idx * sizeof *index); heap, num_of_idx * sizeof *index);
/* Latch the InnoDB data dictionary exclusively so that no deadlocks /* Latch the InnoDB data dictionary exclusively so that no deadlocks
or lock waits can happen in it during an index create operation. or lock waits can happen in it during an index create operation. */
Drop table etc. do this latching in row0mysql.c. */
if (UNIV_LIKELY(!dict_locked)) { if (UNIV_LIKELY(!dict_locked)) {
row_mysql_lock_data_dictionary(trx); row_mysql_lock_data_dictionary(trx);
......
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