enum UtilityRule: string
Public API: explicitly declared with @visibility public.

A rule of SET, SHOW or EXPLAIN that grammatical SQL can break; each case holds the problem in the words of the server.

Source: https://dev.mysql.com/doc/mysql-errors/8.4/en/server-error-reference.html.

Reading the message of a ruledoctest
\SqlSemantics\Platform\MySql\Statement\Utility\Problem\UtilityRule::UnknownExplainFormat->value // => 'Unknown EXPLAIN format name'

Cases§

case NamesExpression = 'SET NAMES takes a character set name, not an expression'
case UnknownExplainFormat = 'Unknown EXPLAIN format name'
case AnalyzeFormat = 'EXPLAIN ANALYZE does not support the TRADITIONAL format'
case ExplainIntoFormat = 'EXPLAIN INTO requires FORMAT=JSON'
case DebugOnly = 'The statement is available in debug builds of the server only'

Test cases 3§

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

Dedicated tests 1
Other tests reaching this symbol 2

Relations§

Constant reads 7
Type declarations 2