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

Method WritePage

src/buffer/buffer_pool_manager.cpp:228–237  ·  view source on GitHub ↗

* @brief A wrapper around `CheckedWritePage` that unwraps the inner value if it exists. * * If `CheckedWritePage` 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 th

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