File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
system-design/framework/spring Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ select sql_no_cache count(*) from usr;
199199| REPEATABLE-READ | × | × | √ |
200200| SERIALIZABLE | × | × | × |
201201
202- MySQL InnoDB 存储引擎的默认支持的隔离级别是 ** REPEATABLE-READ(可重读)** 。我们可以通过` SELECT @@tx_isolation; ` 命令来查看
202+ MySQL InnoDB 存储引擎的默认支持的隔离级别是 ** REPEATABLE-READ(可重读)** 。我们可以通过` SELECT @@tx_isolation; ` 命令来查看,MySQL 8.0 该命令改为 ` SELECT @@transaction_isolation; `
203203
204204``` sql
205205mysql> SELECT @@tx_isolation;
Original file line number Diff line number Diff line change @@ -484,7 +484,7 @@ public enum Isolation {
484484
485485因为平时使用 MySQL 数据库比较多,这里再多提一嘴!
486486
487- MySQL InnoDB 存储引擎的默认支持的隔离级别是 ** ` REPEATABLE-READ ` (可重读)** 。我们可以通过` SELECT @@tx_isolation; ` 命令来查看,如下 :
487+ MySQL InnoDB 存储引擎的默认支持的隔离级别是 ** ` REPEATABLE-READ ` (可重读)** 。我们可以通过` SELECT @@tx_isolation; ` 命令来查看,MySQL 8.0 该命令改为 ` SELECT @@transaction_isolation; ` :
488488
489489```
490490mysql> SELECT @@tx_isolation;
You can’t perform that action at this time.
0 commit comments