Commit bce40651 authored by Marko Mäkelä's avatar Marko Mäkelä

Merge 10.2 into bb-10.2-ext

parents ce076765 51c73a43
...@@ -241,6 +241,7 @@ dict_stats_process_entry_from_defrag_pool(trx_t* trx) ...@@ -241,6 +241,7 @@ dict_stats_process_entry_from_defrag_pool(trx_t* trx)
return; return;
} }
mutex_exit(&dict_sys->mutex);
++trx->will_lock; ++trx->will_lock;
dberr_t err = dict_stats_save_defrag_stats(index, trx); dberr_t err = dict_stats_save_defrag_stats(index, trx);
......
...@@ -512,6 +512,7 @@ dict_stats_process_entry_from_defrag_pool() ...@@ -512,6 +512,7 @@ dict_stats_process_entry_from_defrag_pool()
return; return;
} }
mutex_exit(&dict_sys->mutex);
dict_stats_save_defrag_stats(index); dict_stats_save_defrag_stats(index);
dict_table_close(table, FALSE, FALSE); dict_table_close(table, FALSE, FALSE);
} }
......
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