You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MDEV-37968 GTT: is allowed to us as mysql.help_topic, failing assertions
HELP caused opening a child GTT, whish has table category TEMPORARY,
while only SYSTEM/STATISTICS tables are allowed.
In another assertion, ref_count didn't reach 0 in innodb on shutdown.
We really don't want allowing GTT to work as a system table.
The problem is table->s->table_category is determined at *open* stage,
merely by a name:
share->table_category= get_table_category(share->db, share->table_name)
We could forbid GTT creation when its name maches non-user category.
However, RENAME never opens a table, which means, we anyway can rename
GTT to a system table.
All we can do is make sure we don't open it.
Parent issue:
MDEV-35915
0 commit comments