diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2017-12-07 08:14:49 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2017-12-07 08:14:49 +0200 |
commit | 447931c6ab69c69c442ba89cf2b9fea664e288f8 (patch) | |
tree | 53866242c4c083e8df2e0b8c19d60b58e3e9c1a4 /storage | |
parent | 63cbb982752eda34c8025c6daea9e4d2389807d0 (diff) | |
download | mariadb-git-447931c6ab69c69c442ba89cf2b9fea664e288f8.tar.gz |
Post-fix for MDEV-14587
dict_stats_process_entry_from_defrag_pool(): Release the mutex
Diffstat (limited to 'storage')
-rw-r--r-- | storage/innobase/dict/dict0stats_bg.cc | 1 | ||||
-rw-r--r-- | storage/xtradb/dict/dict0stats_bg.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/storage/innobase/dict/dict0stats_bg.cc b/storage/innobase/dict/dict0stats_bg.cc index 1c599136a6d..6f2f96c452e 100644 --- a/storage/innobase/dict/dict0stats_bg.cc +++ b/storage/innobase/dict/dict0stats_bg.cc @@ -511,6 +511,7 @@ dict_stats_process_entry_from_defrag_pool() return; } + mutex_exit(&dict_sys->mutex); dict_stats_save_defrag_stats(index); dict_table_close(table, FALSE, FALSE); } diff --git a/storage/xtradb/dict/dict0stats_bg.cc b/storage/xtradb/dict/dict0stats_bg.cc index e2e7ad827b6..e166e7df72a 100644 --- a/storage/xtradb/dict/dict0stats_bg.cc +++ b/storage/xtradb/dict/dict0stats_bg.cc @@ -512,6 +512,7 @@ dict_stats_process_entry_from_defrag_pool() return; } + mutex_exit(&dict_sys->mutex); dict_stats_save_defrag_stats(index); dict_table_close(table, FALSE, FALSE); } |