Commit 8efb937b authored by marko's avatar marko

branches/zip: srv_suspend_mysql_thread(): Add some clarifying comments.

parent 5166e140
...@@ -1459,10 +1459,13 @@ srv_suspend_mysql_thread( ...@@ -1459,10 +1459,13 @@ srv_suspend_mysql_thread(
ut_a(trx->dict_operation_lock_mode == 0); ut_a(trx->dict_operation_lock_mode == 0);
/* Wait for the release */ /* Suspend this thread and wait for the event. */
os_event_wait(event); os_event_wait(event);
/* After resuming, reacquire the data dictionary latch if
necessary. */
switch (had_dict_lock) { switch (had_dict_lock) {
case RW_S_LATCH: case RW_S_LATCH:
row_mysql_freeze_data_dictionary(trx); row_mysql_freeze_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