Skip to content

Commit

Permalink
auto commit
Browse files Browse the repository at this point in the history
  • Loading branch information
CyC2018 committed Apr 18, 2021
1 parent 908fd6c commit 05998c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notes/数据库系统原理.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* [封锁粒度](#封锁粒度)
* [封锁类型](#封锁类型)
* [封锁协议](#封锁协议)
* [MySQL 隐式与显示锁定](#mysql-隐式与显示锁定)
* [MySQL 隐式与显式锁定](#mysql-隐式与显式锁定)
* [隔离级别](#四隔离级别)
* [未提交读READ UNCOMMITTED)](#未提交读read-uncommitted)
* [提交读READ COMMITTED)](#提交读read-committed)
Expand Down Expand Up @@ -217,7 +217,7 @@ lock-x(A)...lock-s(B)...lock-s(C)...unlock(A)...unlock(C)...unlock(B)
lock-x(A)...unlock(A)...lock-s(B)...unlock(B)...lock-s(C)...unlock(C)
```

### MySQL 隐式与显示锁定
### MySQL 隐式与显式锁定

MySQL InnoDB 存储引擎采用两段锁协议会根据隔离级别在需要的时候自动加锁并且所有的锁都是在同一时刻被释放这被称为隐式锁定

Expand Down

0 comments on commit 05998c5

Please sign in to comment.