classShutdown
final class Shutdown
implements Statement
uses Snapshot
Public API: explicitly declared with
@visibility public.SHUTDOWN: a request to stop the server (MySQL 5.7.9 and later).
Mirrors PT_shutdown (Sql_cmd_shutdown). Rule: MYSQL-SHUTDOWN-001. The statement names no relation and has no facts. Source: https://dev.mysql.com/doc/refman/8.4/en/shutdown.html. Status: Implemented.
(new \SqlSemantics\Platform\MySql\Semantics())->analyze('shutdown')->toString() // => 'SHUTDOWN'Methods§
public function deriveStatement(Derivation $derivation): voidHas nothing to derive: the request names no relation and no value.
Parameters
$derivation | Derivation |
public function render(Output $out): voidTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
ShutdownTestcalls