为什么MySQL默认事务隔离级别是RR(7)

Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging. InnoDB is limited to row-logging when transaction isolation level is READ COMMITTED or READ UNCOMMITTED.

因此单纯根据步骤讲解

步骤   SESSION  A   SESSION B  
1  

mysql>set autocommit=0;

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/242a0710a19e832af14a4874fe1b70f0.html