final class AdminRows
Restricted visibility: declared "@visibility SqlSemantics\Platform\MySql". Code outside that scope must not name this declaration.

Records the rows the row-returning server administration statements return.

Rule: MYSQL-ADMIN-ROWS-001. The table maintenance and key cache statements (ANALYZE, CHECK, OPTIMIZE, REPAIR TABLE, CACHE INDEX, LOAD INDEX INTO CACHE) return the result of mysql_admin_table: Table, Op, Msg_type and Msg_text, each a VARCHAR that can be NULL. CHECKSUM TABLE returns Table, a VARCHAR, and Checksum, a BIGINT, both of which can be NULL (Checksum is NULL for a table that does not exist). XA RECOVER returns formatID, gtrid_length and bqual_length, BIGINT, and data, a VARCHAR, none of which is NULL. The types are those of the result metadata the server declares (sql_admin.cc, sql_table.cc, xa.cc); the column codes are decoded by MYSQL-SHOW-ROWS-001. Precision: every column is a known type. Terminates: one pass over the columns. Source: https://dev.mysql.com/doc/refman/8.4/en/check-table.html, https://dev.mysql.com/doc/refman/8.4/en/checksum-table.html, https://dev.mysql.com/doc/refman/8.4/en/xa-statements.html. Status: Implemented.

Methods§

public function checksum(Derivation $derivation): void

Private surface 1§

Implementation details, listed for orientation only.

private const COLUMNS = ['admin' => [['Table', 'v?'], ['Op', 'v?'], ['Msg_type', 'v?'], ['Msg_text', 'v…

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 8
Method calls 8