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

Lowers GET DIAGNOSTICS.

Rule: MYSQL-DIAGNOSTICS-LOWERING-001. Scope: get_diagnostics, which_area, diagnostics_information, statement_information, statement_information_item, statement_information_item_name, simple_target_specification, condition_number, condition_information, condition_information_item, condition_information_item_name. Constructs: GetDiagnostics, StatementDiagnostics, ConditionDiagnostics, InformationItem. Terminates: the lists are flattened iteratively. Source: https://dev.mysql.com/doc/refman/8.4/en/get-diagnostics.html. Status: Implemented.

Methods§

public function __construct(private Lowering $lowering)

Parameters

$loweringLoweringThe lowering this rule belongs to

Private surface 4§

Implementation details, listed for orientation only.

private const AREAS = ['which_area:' => null, 'which_area: CURRENT_SYM' => \SqlSemantics\Platform\MyS…
private const NAMES = ['statement_information_item_name: NUMBER_SYM' => \SqlSemantics\Platform\MySql\…
private const LISTS = ['statement_information: statement_information_item', 'statement_information: s…
private Lowering $lowering

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 1
Method calls 1