Skip to content

Commit 447931c

Browse files
committed
Post-fix for MDEV-14587
dict_stats_process_entry_from_defrag_pool(): Release the mutex
1 parent 63cbb98 commit 447931c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

storage/innobase/dict/dict0stats_bg.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@ dict_stats_process_entry_from_defrag_pool()
511511
return;
512512
}
513513

514+
mutex_exit(&dict_sys->mutex);
514515
dict_stats_save_defrag_stats(index);
515516
dict_table_close(table, FALSE, FALSE);
516517
}

storage/xtradb/dict/dict0stats_bg.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ dict_stats_process_entry_from_defrag_pool()
512512
return;
513513
}
514514

515+
mutex_exit(&dict_sys->mutex);
515516
dict_stats_save_defrag_stats(index);
516517
dict_table_close(table, FALSE, FALSE);
517518
}

0 commit comments

Comments
 (0)