classLockInstance
final class LockInstance
implements Statement
uses Snapshot
Public API: explicitly declared with
@visibility public.LOCK INSTANCE FOR BACKUP: a request to take the backup lock of the server instance (MySQL 8.0 and later).
Mirrors Sql_cmd_lock_instance. Rule: MYSQL-LOCK-INSTANCE-001. The statement names no relation and has no facts. Source: https://dev.mysql.com/doc/refman/8.4/en/lock-instance-for-backup.html. Status: Implemented.
(new \SqlSemantics\Platform\MySql\Semantics())->analyze('lock instance for backup')->toString() // => 'LOCK INSTANCE FOR BACKUP'Methods§
public function deriveStatement(Derivation $derivation): voidHas nothing to derive: the request names no relation and no value.
Parameters
$derivation | Derivation |
public function render(Output $out): voidTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
LockInstanceTestcalls