Skip to content

Commit

Permalink
add a better hint to bpm header (#742)
Browse files Browse the repository at this point in the history
* add a better hint to bpm header

* swap
  • Loading branch information
connortsui20 authored Sep 17, 2024
1 parent c0af0e0 commit bba8cf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/include/buffer/buffer_pool_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ class BufferPoolManager {
* There will likely be a lot of code duplication between the different modes of accessing a page.
*
* We would recommend implementing a helper function that returns the ID of a frame that is free and has nothing
* stored inside of it. Additionally, you may also want to implement a helper function that returns a shared pointer
* to a `FrameHeader` that already has a page's data stored inside of it.
* stored inside of it. Additionally, you may also want to implement a helper function that returns either a shared
* pointer to a `FrameHeader` that already has a page's data stored inside of it, or an index to said `FrameHeader`.
*/
};
} // namespace bustub

0 comments on commit bba8cf3

Please sign in to comment.