diff options
author | Jan Lindström <jan.lindstrom@mariadb.com> | 2018-01-25 11:28:38 +0200 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2018-01-25 11:28:38 +0200 |
commit | 859d100d70a9dba222b229bbc0d5a01194e8ed5f (patch) | |
tree | 4f0ce12885d28148f14df099b1a7b3d1c76a67bd | |
parent | 7fc25cfbca3cadc53bdcd44572ac2d29d17cff0d (diff) | |
download | mariadb-git-859d100d70a9dba222b229bbc0d5a01194e8ed5f.tar.gz |
MDEV-15063: InnoDB assertion failure !is_owned() at dict0defrag_bg.cc:327
Probem was that dict_sys mutex was owned when calling function
dict_stats_save_defrag_stats() that assumes we do not own
dict_sys mutex.
-rw-r--r-- | storage/innobase/dict/dict0defrag_bg.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/innobase/dict/dict0defrag_bg.cc b/storage/innobase/dict/dict0defrag_bg.cc index 976e2ac3877..7b9a0373c48 100644 --- a/storage/innobase/dict/dict0defrag_bg.cc +++ b/storage/innobase/dict/dict0defrag_bg.cc @@ -240,6 +240,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); } |