| 868 | } |
| 869 | |
| 870 | bool BufferPool::Page::DebugStringCallback(stringstream* ss, BufferPool::Page* page) { |
| 871 | lock_guard<SpinLock> pl(page->buffer_lock); |
| 872 | (*ss) << page->DebugString() << "\n"; |
| 873 | return true; |
| 874 | } |
| 875 | |
| 876 | string BufferPool::BufferHandle::DebugString() const { |
| 877 | if (is_open()) { |
nothing calls this directly
no test coverage detected