MCPcopy Create free account
hub / github.com/cmu-db/bustub / ReadPage

Method ReadPage

src/buffer/buffer_pool_manager.cpp:253–262  ·  view source on GitHub ↗

* @brief A wrapper around `CheckedReadPage` that unwraps the inner value if it exists. * * If `CheckedReadPage` returns a `std::nullopt`, **this function aborts the entire process.** * * This function should **only** be used for testing and ergonomic's sake. If it is at all possible that the buffer pool * manager might run out of memory, then use `CheckedPageWrite` to allow you to handle that

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected