ROLLBACK TO SAVEPOINT
MySQL supports local transactions (within a given client
connection) through statements such as SET
AUTOCOMMIT, START TRANSACTION,
COMMIT, and ROLLBACK. See
Section 13.4.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”. XA transaction support enables MySQL to
participate in distributed transactions as well. See
Section 13.4.7, “XA Transactions”.