Skip to content

Commit bba8cf3

Browse files
authored
add a better hint to bpm header (#742)
* add a better hint to bpm header * swap
1 parent c0af0e0 commit bba8cf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/buffer/buffer_pool_manager.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ class BufferPoolManager {
167167
* There will likely be a lot of code duplication between the different modes of accessing a page.
168168
*
169169
* We would recommend implementing a helper function that returns the ID of a frame that is free and has nothing
170-
* stored inside of it. Additionally, you may also want to implement a helper function that returns a shared pointer
171-
* to a `FrameHeader` that already has a page's data stored inside of it.
170+
* stored inside of it. Additionally, you may also want to implement a helper function that returns either a shared
171+
* pointer to a `FrameHeader` that already has a page's data stored inside of it, or an index to said `FrameHeader`.
172172
*/
173173
};
174174
} // namespace bustub

0 commit comments

Comments
 (0)