Skip to content

Commit 583a840

Browse files
Update ExtendibleHTableHeaderPage::GetDirectoryPageId to page_id_t (#649)
Update ExtendibleHTableHeaderPage::GetDirectoryPageId return type Co-authored-by: Prashanth Duvvada <[email protected]>
1 parent e40870a commit 583a840

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/include/storage/page/extendible_htable_header_page.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class ExtendibleHTableHeaderPage {
5656
* @param directory_idx index in the directory page id array
5757
* @return directory page_id at index
5858
*/
59-
auto GetDirectoryPageId(uint32_t directory_idx) const -> uint32_t;
59+
auto GetDirectoryPageId(uint32_t directory_idx) const -> page_id_t;
6060

6161
/**
6262
* @brief Set the directory page id at an index

src/storage/page/extendible_htable_header_page.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void ExtendibleHTableHeaderPage::Init(uint32_t max_depth) {
2222

2323
auto ExtendibleHTableHeaderPage::HashToDirectoryIndex(uint32_t hash) const -> uint32_t { return 0; }
2424

25-
auto ExtendibleHTableHeaderPage::GetDirectoryPageId(uint32_t directory_idx) const -> uint32_t { return 0; }
25+
auto ExtendibleHTableHeaderPage::GetDirectoryPageId(uint32_t directory_idx) const -> page_id_t { return 0; }
2626

2727
void ExtendibleHTableHeaderPage::SetDirectoryPageId(uint32_t directory_idx, page_id_t directory_page_id) {
2828
throw NotImplementedException("ExtendibleHTableHeaderPage is not implemented");

0 commit comments

Comments
 (0)