ROLLBACK PREPARED

Function

ROLLBACK PREPARED cancels a transaction ready for two-phase committing.

Precautions

Syntax

1
ROLLBACK PREPARED transaction_id ;

Parameter Description

transaction_id

Specifies the identifier of the transaction to be submitted. The identifier must be different from those for current prepared transactions.

Helpful Links

COMMIT PREPARED, PREPARE TRANSACTION