13.3 Transactional and Locking Statements事务和锁定语句

13.3.1 START TRANSACTION, COMMIT, and ROLLBACK StatementsSTART TRANSACTION语句、COMMIT语句和ROLLBACK语句
13.3.2 Statements That Cannot Be Rolled Back无法回滚的语句
13.3.3 Statements That Cause an Implicit Commit导致隐式提交的语句
13.3.4 SAVEPOINT, ROLLBACK TO SAVEPOINT, and RELEASE SAVEPOINT StatementsSAVEPOINT语句、ROLLBACK TO SAVEPOINT语句和RELEASE SAVEPOINT语句
13.3.5 LOCK INSTANCE FOR BACKUP and UNLOCK INSTANCE StatementsLOCK INSTANCE FOR BACKUP语句和UNLOCK INSTANCE语句
13.3.6 LOCK TABLES and UNLOCK TABLES StatementsLOCK TABLES语句和UNLOCK TABLES语句
13.3.7 SET TRANSACTION Statement语句
13.3.8 XA Transactions事务

MySQL supports local transactions (within a given client session) through statements such as SET autocommit, START TRANSACTION, COMMIT, and ROLLBACK. MySQL通过SET autocommitSTART TRANSACTIONCOMMITROLLBACK等语句支持本地事务(在给定的客户机会话中)。See Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Statements”. 请参阅第13.3.1节,“启动事务、提交和回滚语句”XA transaction support enables MySQL to participate in distributed transactions as well. XA事务支持使MySQL能够参与分布式事务。See Section 13.3.8, “XA Transactions”.参见Section 13.3.8, “XA Transactions”第13.3.8节,“XA事务”。

13.3.1 START TRANSACTION, COMMIT, and ROLLBACK Statements
13.3.2 Statements That Cannot Be Rolled Back
13.3.3 Statements That Cause an Implicit Commit
13.3.4 SAVEPOINT, ROLLBACK TO SAVEPOINT, and RELEASE SAVEPOINT Statements
13.3.5 LOCK INSTANCE FOR BACKUP and UNLOCK INSTANCE Statements
13.3.6 LOCK TABLES and UNLOCK TABLES Statements
13.3.7 SET TRANSACTION Statement
13.3.8 XA Transactions