File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 149
149
150
150
- 此时最新记录的 ` DB_TRX_ID ` 为 102,m_up_limit_id <= 102 < m_low_limit_id,所以要在 ` m_ids ` 列表中查找,发现 ` DB_TRX_ID ` 存在列表中,那么这个记录不可见
151
151
152
- - 根据 ` DB_ROLL_PTR ` 找到 ` undo log ` 中的上一版本记录,上一条记录的 ` DB_TRX_ID ` 为 101,满足 102 < m_up_limit_id,记录可见,所以在 ` T6 ` 时间点查询到数据为 ` name = 李四 ` ,与时间 T4 查询到的结果不一致,不可重复读!
152
+ - 根据 ` DB_ROLL_PTR ` 找到 ` undo log ` 中的上一版本记录,上一条记录的 ` DB_TRX_ID ` 为 101,满足 101 < m_up_limit_id,记录可见,所以在 ` T6 ` 时间点查询到数据为 ` name = 李四 ` ,与时间 T4 查询到的结果不一致,不可重复读!
153
153
154
154
3 . ** ` 时间线来到 T9 ,数据的版本链为 ` :**
155
155
212
212
- ** 《MySQL 技术内幕 InnoDB 存储引擎第 2 版》**
213
213
214
214
- [ Innodb 中的事务隔离级别和锁的关系] ( https://tech.meituan.com/2014/08/20/innodb-lock.html )
215
- - [ MySQL 事务与 MVCC 如何实现的隔离级别] ( https://blog.csdn.net/qq_35190492/article/details/109044141 )
215
+ - [ MySQL 事务与 MVCC 如何实现的隔离级别] ( https://blog.csdn.net/qq_35190492/article/details/109044141 )
You can’t perform that action at this time.
0 commit comments