diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2014-03-28 11:30:10 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2014-03-28 11:30:10 +0400 |
commit | 71064cbe5d2689e339a5499086fe7f9b5f39e0a1 (patch) | |
tree | 8b3234fa972ce6bd36d9a1e8b821b7d657236c2c /pcre/pcre_chartables.c | |
parent | 68015a99cdd0ffb203e44c10726371af14207073 (diff) | |
download | mariadb-git-71064cbe5d2689e339a5499086fe7f9b5f39e0a1.tar.gz |
MDEV-5964 - main.mdev-504 unveils assertion failure in
TABLE_SHARE::visit_subgraph
tc_acquire_table() is not ready to update TABLE::in_use without mutex:
thr1: table= free_tables.pop_front(); // table->in_use is 0
thr2: tdc_remove_table();
thr2: find_deadlock(); // assert(table->in_use != 0)
thr1: table->in_use= thd;
Protect update of TABLE::in_use by LOCK_table_share.
Diffstat (limited to 'pcre/pcre_chartables.c')
0 files changed, 0 insertions, 0 deletions