Skip to content

Why TableIterator Begin(Transaction *txn) only checks the first_page_id_ in class TableHeap? #68

@jaedongtang

Description

@jaedongtang

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions