Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(p2): fix wrong definition of function #701

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hnkjdaxzzq
Copy link

Modify the return value type of the ExtendibleHTableHeaderPage::GetDirectoryPageId(uint32_t directory_idx) const -> uint32_t function to page_id_t.

before: Using this function get pageid requires type conversion.
After: The function return value conforms to the definition of the function name.

this function in bustub/src/storage/page/extendible_htable_header_page.cpp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant