File tree Expand file tree Collapse file tree 6 files changed +0
-175
lines changed Expand file tree Collapse file tree 6 files changed +0
-175
lines changed Original file line number Diff line number Diff line change @@ -56,12 +56,6 @@ class BPlusTreePage {
56
56
void SetMaxSize (int max_size);
57
57
auto GetMinSize () const -> int;
58
58
59
- auto GetParentPageId () const -> page_id_t;
60
- void SetParentPageId (page_id_t parent_page_id);
61
-
62
- auto GetPageId () const -> page_id_t;
63
- void SetPageId (page_id_t page_id);
64
-
65
59
private:
66
60
// member variable, attributes that both internal and leaf page share
67
61
IndexPageType page_type_ __attribute__ ((__unused__));
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ add_library(
7
7
hash_table_block_page.cpp
8
8
hash_table_bucket_page.cpp
9
9
hash_table_directory_page.cpp
10
- header_page.cpp
11
10
page_guard.cpp
12
11
table_page.cpp )
13
12
Original file line number Diff line number Diff line change @@ -40,16 +40,4 @@ void BPlusTreePage::SetMaxSize(int size) {}
40
40
*/
41
41
auto BPlusTreePage::GetMinSize () const -> int { return 0 ; }
42
42
43
- /*
44
- * Helper methods to get/set parent page id
45
- */
46
- auto BPlusTreePage::GetParentPageId () const -> page_id_t { return 0 ; }
47
- void BPlusTreePage::SetParentPageId (page_id_t parent_page_id) {}
48
-
49
- /*
50
- * Helper methods to get/set self page id
51
- */
52
- auto BPlusTreePage::GetPageId () const -> page_id_t { return 0 ; }
53
- void BPlusTreePage::SetPageId (page_id_t page_id) {}
54
-
55
43
} // namespace bustub
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 24
24
#include " common/exception.h"
25
25
#include " common/logger.h"
26
26
#include " common/util/string_util.h"
27
- #include " storage/page/header_page.h"
28
27
29
28
namespace bustub {
30
29
You can’t perform that action at this time.
0 commit comments