Why TableIterator Begin(Transaction *txn) only checks the first_page_id_ in class TableHeap? #298
Unanswered
jaedongtang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the implementation, it seems that it only checks the tuples in the first_page_id_. If it can not find any valid one, it would return EOF.
What if the TableHeap has multiple pages, all the tuples in the first page are deleted over a period of time but valid tuples do exist in the second page?
Beta Was this translation helpful? Give feedback.
All reactions