final class TableNames
Restricted visibility: declared "@visibility SqlSemantics\Platform\MySql". Code outside that scope must not name this declaration.

Resolves the tables a server administration statement names and reports a table named twice.

Rule: MYSQL-SERVER-TABLES-001. Each name resolves by MYSQL-CHANGE-TARGET-001 (the current database or the database written; common table expressions are not visible) and its resolution is the relation fact of the node that holds it. The server adds every table of the list to the statement's table list (Query_block::add_table_to_list without TL_OPTION_ALIAS), which rejects a second entry whose alias (the table name when no alias is written) and database equal an earlier one's with ER_NONUNIQ_TABLE; that is the diagnostic NonUniqueTable, compared under the context's relation name comparison. Precision: a declared table contributes the known types of its columns. Terminates: one pass over the list and over the names before each entry. Source: https://dev.mysql.com/doc/refman/8.4/en/lock-tables.html, https://dev.mysql.com/doc/refman/8.4/en/analyze-table.html. Status: Implemented.

Methods§

Test cases 1§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1

Relations§

Instantiated in 4
Method calls 4