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

SHOW BINARY LOG STATUS (SHOW MASTER STATUS): the position in the binary log of the source.

Rule: MYSQL-SHOW-BINARY-LOG-STATUS-001. The two spellings are kept because each release accepts only some of them (SHOW MASTER STATUS up to 8.3, SHOW BINARY LOG STATUS from 8.2); they return 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-binary-log-status.html. Status: Implemented.

Reading the statementdoctest
$show = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('SHOW BINARY LOG STATUS');
    [$show->field(0)->name?->value, $show->toString()] // => ['File', 'SHOW BINARY LOG STATUS']

Properties§

public Terminology $terminology

Methods§

public function __construct(public Terminology $terminology)

Parameters

$terminologyTerminologyWhether MASTER STATUS or BINARY LOG STATUS is written
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 3