final class Restart
    implements Statement
    uses Snapshot
Public API: explicitly declared with @visibility public.

RESTART: a request to stop and start the server under its supervisor (MySQL 8.0.12 and later).

Mirrors PT_restart_server (Sql_cmd_restart_server). Rule: MYSQL-RESTART-001. The statement names no relation and has no facts. Source: https://dev.mysql.com/doc/refman/8.4/en/restart.html. Status: Implemented.

Reading the requestdoctest
(new \SqlSemantics\Platform\MySql\Semantics())->analyze('restart')->toString() // => 'RESTART'

Methods§

public function deriveStatement(Derivation $derivation): void

Has nothing to derive: the request names no relation and no value.

Parameters

$derivationDerivation
public function render(Output $out): void

Writes the request.

Parameters

$outOutput
Calls 1

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