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;
199
199
| REPEATABLE-READ | × | × | √ |
200
200
| SERIALIZABLE | × | × | × |
201
201
202
- MySQL InnoDB 存储引擎的默认支持的隔离级别是 ** REPEATABLE-READ(可重读)** 。我们可以通过` SELECT @@tx_isolation; ` 命令来查看
202
+ MySQL InnoDB 存储引擎的默认支持的隔离级别是 ** REPEATABLE-READ(可重读)** 。我们可以通过` SELECT @@tx_isolation; ` 命令来查看,MySQL 8.0 该命令改为 ` SELECT @@transaction_isolation; `
203
203
204
204
``` sql
205
205
mysql> SELECT @@tx_isolation;
Original file line number Diff line number Diff line change @@ -484,7 +484,7 @@ public enum Isolation {
484
484
485
485
因为平时使用 MySQL 数据库比较多,这里再多提一嘴!
486
486
487
- MySQL InnoDB 存储引擎的默认支持的隔离级别是 ** ` REPEATABLE-READ ` (可重读)** 。我们可以通过` SELECT @@tx_isolation; ` 命令来查看,如下 :
487
+ MySQL InnoDB 存储引擎的默认支持的隔离级别是 ** ` REPEATABLE-READ ` (可重读)** 。我们可以通过` SELECT @@tx_isolation; ` 命令来查看,MySQL 8.0 该命令改为 ` SELECT @@transaction_isolation; ` :
488
488
489
489
```
490
490
mysql> SELECT @@tx_isolation;
You can’t perform that action at this time.
0 commit comments