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

Method DeletePage

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

* @brief Removes a page from the database, both on disk and in memory. * * If the page is pinned in the buffer pool, this function does nothing and returns `false`. Otherwise, this function * removes the page from both disk and memory (if it is still in the buffer pool), returning `true`. * * ### Implementation * * Think about all of the places that a page or a page's metadata could be, and

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