classXaRollback
final class XaRollback
implements Statement
uses Snapshot
Public API: explicitly declared with
@visibility public.XA ROLLBACK xid: a request to roll back an XA transaction.
Mirrors Sql_cmd_xa_rollback. Rule: MYSQL-XA-ROLLBACK-001. The statement names no relation and has no facts. Source: https://dev.mysql.com/doc/refman/8.4/en/xa-statements.html. Status: Implemented.
$xa = (new \SqlSemantics\Platform\MySql\Semantics())->analyze("xa rollback X'0f', 'b', 3");
[$xa->toString(), $xa->statement->xid->format?->text === '3'] // => ["XA ROLLBACK x'0f', 'b', 3", true]Properties§
public Xid $xidMethods§
public function deriveStatement(Derivation $derivation): voidRefuses a format identifier the release rejects; the request names no relation and no value.
Parameters
$derivation | Derivation |
Throws
InvalidConstruction When the release does not read the format identifierCalls 2
- method-call Magnitudes::identifier() line 44
- new Magnitudes line 44
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.