Browse Source
MDEV-26383 fixup: Consistently protect freed_indexes with autoinc_mutex
MDEV-26383 fixup: Consistently protect freed_indexes with autoinc_mutex
To avoid potential race conditions between concurrent access to dict_table_t::freed_indexes, let us consistently use dict_table_t::autoinc_mutex. dict_table_remove_from_cache_low(): To avoid extensive hold time of table->autoinc_mutex, unconditionally free the FTS data structures.pull/1896/head
3 changed files with 25 additions and 23 deletions
-
15storage/innobase/btr/btr0sea.cc
-
28storage/innobase/dict/dict0dict.cc
-
5storage/innobase/include/dict0mem.h
Write
Preview
Loading…
Cancel
Save
Reference in new issue