check row mvcc flag

This commit is contained in:
z404289981
2023-12-06 03:46:42 +00:00
committed by ob-robot
parent 6a8e140c01
commit f88042bfd9
4 changed files with 104 additions and 14 deletions

View File

@ -276,6 +276,10 @@ public:
{
is_shadow_ = is_shadow_row;
}
inline bool is_valid() const
{
return !is_first_multi_version_row() || is_uncommitted_row() || is_last_multi_version_row() || is_ghost_row() || is_shadow_row();
}
inline bool is_compacted_multi_version_row() const { return is_compacted_; }
inline bool is_last_multi_version_row() const { return is_last_; }
inline bool is_first_multi_version_row() const { return is_first_; }