提交 4791a733 编写于 作者: C chinaxing 提交者: wangzelin.wzl

[FIX] test mvcc-list empty when access

上级 8bd9721c
......@@ -306,7 +306,8 @@ bool ObMvccValueIterator::read_by_sql_no(
} else {
can_read_by_sql_no = true;
}
} else if (ctx.is_for_replay() && !iter->is_committed() && iter->get_ctx_descriptor() == ctx.get_ctx_descriptor()) {
} else if (ctx.is_for_replay() && OB_NOT_NULL(iter) && // row may not modified
!iter->is_committed() && iter->get_ctx_descriptor() == ctx.get_ctx_descriptor()) {
can_read_by_sql_no = true;
}
if (can_read_by_sql_no) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册