classServerRule
final class ServerRule
Restricted visibility: declared "@visibility SqlSemantics\Platform\MySql\Lowering\Utility". Code outside that scope must not name this declaration.
Lowers the SHOW statements of MySQL 8.0 and later about the server, the session and accounts.
Rule: MYSQL-SHOW-SERVER-LOWERING-001. Scope: show_plugins_stmt, show_engine_logs_stmt, show_engine_mutex_stmt, show_engine_status_stmt, show_engines_stmt, show_status_stmt, show_variables_stmt, show_processlist_stmt, show_character_set_stmt, show_collation_stmt, show_privileges_stmt, show_grants_stmt, show_create_user_stmt. Terminates: every part is a strict subtree. Source: https://dev.mysql.com/doc/refman/8.4/en/show.html. Status: Implemented.
Methods§
public function __construct(private Lowering $lowering)Parameters
$lowering | Lowering | The lowering this rule belongs to |
Lowers a node of a SHOW rule about the server.
Parameters
$form | Form |
Returns
Throws
ImplementationGap When a production has no ruleCalled from 1
Calls 20
- new ClauseRule line 54
- new ShowPlugins line 58
- new ShowEngineLogs line 60
- method-call ClauseRule::engine() line 60
- method-call Form::node() line 60
- new ShowEngineMutex line 62
- new ShowEngineStatus line 64
- new ShowEngineCatalog line 68
- new ShowStatus line 70
- method-call ClauseRule::scope() line 70
- method-call ClauseRule::filter() line 70
- new ShowVariables line 72
- new ShowProcesslist line 74
- method-call ClauseRule::listing() line 74
- new ShowCharacterSet line 78
- new ShowCollation line 80
- new ShowPrivileges line 82
- new ShowGrants line 84
- new ShowCreateUser line 90
- static-call ImplementationGap::production() line 92
Private surface 1§
Implementation details, listed for orientation only.
private Lowering $loweringTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
ServerRuleTestcalls