| 263 | } |
| 264 | |
| 265 | void BufferManager::unpin(FileHandle& fileHandle, page_idx_t pageIdx) { |
| 266 | auto pageState = fileHandle.getPageState(pageIdx); |
| 267 | pageState->unlock(); |
| 268 | } |
| 269 | |
| 270 | // evicts up to 64 pages and returns the space reclaimed |
| 271 | uint64_t BufferManager::evictPages() { |
no test coverage detected