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

SHOW PROCESSLIST: the threads running in the server.

Rule: MYSQL-SHOW-PROCESSLIST-001. FULL returns the whole statement text in Info instead of its first 100 characters, which changes the type of that column. The columns are those of the layout of MYSQL-SHOW-ROWS-001. Terminates: a fixed layout. Source: https://dev.mysql.com/doc/refman/8.4/en/show-processlist.html. Status: Implemented.

Reading the statementdoctest
$show = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('SHOW FULL PROCESSLIST');
    [$show->statement->full, $show->toString()] // => [true, 'SHOW FULL PROCESSLIST']

Properties§

public bool $full = false

Methods§

public function __construct(public bool $full = false)

Parameters

$fullboolWhether FULL is written
public function deriveStatement(Derivation $derivation): void

Derives the rows.

Parameters

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

Writes the statement.

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 2