summaryrefslogtreecommitdiff
path: root/sql/ha_partition.cc
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2018-09-05 14:44:07 +0400
committerSergey Vojtovich <svoj@mariadb.org>2018-09-10 18:31:14 +0400
commite76c4c06f18c0d09a296a60b6d00332620e98e53 (patch)
tree57b4fb70c0a60da1e99801a797e2cbe9448667cb /sql/ha_partition.cc
parent4d991abd4fc7f60e758ec46301b0dd2bee71245c (diff)
downloadmariadb-git-e76c4c06f18c0d09a296a60b6d00332620e98e53.tar.gz
MDEV-16773 - Assertion failed in tdc_remove_table
This assertion fails in thread that removes all table instances for particular table from table cache (e.g. "DROP TABLE") while another thread evicts table instance of the same table from table cache concurrently. After "MDEV-10296 - Multi-instance table cache" there is a gap in eviction code of tc_add_table() between removing table from free_tables and all_tables not protected by any mutexes. This is now valid table cache state, however assertion wasn't amended along with original patch. Moved assertion down, after waiting for such table instances to get closed.
Diffstat (limited to 'sql/ha_partition.cc')
0 files changed, 0 insertions, 0 deletions