summaryrefslogtreecommitdiff
path: root/sql/bounded_queue.h
diff options
context:
space:
mode:
authorThirunarayanan Balathandayuthapani <thiru@mariadb.com>2019-11-06 10:20:32 +0530
committerMarko Mäkelä <marko.makela@mariadb.com>2019-11-06 08:12:00 +0200
commit5c3bbbd845fe38a125553c62976c1165b2d9b8d7 (patch)
tree42e49682a32a3929d06a2cc1925c6074a2daeaee /sql/bounded_queue.h
parent6e48f3a062412413a0cb9d7bddbaaacdeee2b13e (diff)
downloadmariadb-git-5c3bbbd845fe38a125553c62976c1165b2d9b8d7.tar.gz
MDEV-20987 InnoDB fails to start when fts table has FK relation
InnoDB: Assertion failure in file .../dict/dict0dict.cc line ... InnoDB: Failing assertion: table->can_be_evicted This fixes a regression that was caused by the fix of MDEV-20621 (commit a41d429765c7ddb528b9b438c68b25ff55d3bd55). MySQL 5.6 (and MariaDB 10.0) introduced eviction of tables from the InnoDB data dictionary cache. Tables that are connected to FOREIGN KEY constraints or FULLTEXT INDEX are exempt of the eviction. With the problematic change, a table that would already be exempt from eviction due to FOREIGN KEY would cause the problem if there also was a FULLTEXT INDEX defined on it. dict_load_table(): Only prevent eviction if table->can_be_evicted holds.
Diffstat (limited to 'sql/bounded_queue.h')
0 files changed, 0 insertions, 0 deletions