MySQL supports local transactions (within a given client session) through statements such as MySQL通过SET autocommit
, START TRANSACTION
, COMMIT
, and ROLLBACK
. SET autocommit
、START TRANSACTION
、COMMIT
和ROLLBACK
等语句支持本地事务(在给定的客户机会话中)。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事务”。