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

SHOW ENGINE … MUTEX: the mutex statistics of a storage engine.

Rule: MYSQL-SHOW-ENGINEMUTEX-001. The engine is a name the server resolves, or ALL for every engine. The three SHOW ENGINE reports are distinct commands with the same columns: those of the layout of MYSQL-SHOW-ROWS-001. Terminates: a fixed layout. Source: https://dev.mysql.com/doc/refman/8.4/en/show-engine.html. Status: Implemented.

Reading the statementdoctest
$show = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('SHOW ENGINE InnoDB MUTEX');
    [$show->statement->engine?->value, $show->toString()] // => ['InnoDB', 'SHOW ENGINE InnoDB MUTEX']

Properties§

public ?Name $engine = null

Methods§

public function __construct(public ?Name $engine = null)

Parameters

$engine?NameThe storage engine, or null for ALL
public function deriveStatement(Derivation $derivation): void

Derives the rows.

Parameters

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

Writes the statement.

Parameters

$outOutput
Calls 3

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 2