MySQL 8.4 Release Notes
- 15.3.1 START TRANSACTION、COMMIT 和 ROLLBACK 语句15.3.1 START TRANSACTION, COMMIT, and ROLLBACK Statements
- 15.3.2 无法回滚的语句15.3.2 Statements That Cannot Be Rolled Back
- 15.3.3 导致隐式提交的语句15.3.3 Statements That Cause an Implicit Commit
- 15.3.4 SAVEPOINT、ROLLBACK TO SAVEPOINT 和 RELEASE SAVEPOINT 语句15.3.4 SAVEPOINT, ROLLBACK TO SAVEPOINT, and RELEASE SAVEPOINT Statements
- 15.3.5 LOCK INSTANCE FOR BACKUP 和 UNLOCK INSTANCE 语句15.3.5 LOCK INSTANCE FOR BACKUP and UNLOCK INSTANCE Statements
- 15.3.6 LOCK TABLES 和 UNLOCK TABLES 语句15.3.6 LOCK TABLES and UNLOCK TABLES Statements
- 15.3.7 SET TRANSACTION 语句15.3.7 SET TRANSACTION Statement
- 15.3.8 XA 事务15.3.8 XA Transactions
MySQL 通过诸如 SET autocommit、START TRANSACTION、COMMIT 和 ROLLBACK 等语句支持本地事务(在给定客户端会话内)。参见 第 15.3.1 节,“START TRANSACTION、COMMIT 和 ROLLBACK 语句”。XA 事务支持使 MySQL 也能够参与分布式事务。参见 第 15.3.8 节,“XA 事务”。MySQL supports local transactions (within a given client session)
through statements such as
SET autocommit,
START TRANSACTION,
COMMIT, and
ROLLBACK. See
Section 15.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Statements”. XA transaction support enables MySQL to
participate in distributed transactions as well. See
Section 15.3.8, “XA Transactions”.