Commit 8462fba6 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 c13f1913
......@@ -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);
......
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