| 521 | } |
| 522 | |
| 523 | const char* TupleCacheMgr::GetPath(UniqueHandle& handle) const { |
| 524 | DCHECK(enabled_); |
| 525 | DCHECK(handle != nullptr && handle->cache_handle != nullptr); |
| 526 | uint8_t* data = getHandleData(cache_.get(), handle.get()); |
| 527 | return reinterpret_cast<const char*>(data + sizeof(TupleCacheEntry)); |
| 528 | } |
| 529 | |
| 530 | Status TupleCacheMgr::CreateDebugDumpSubdir(const string& sub_dir) { |
| 531 | DCHECK(!sub_dir.empty()); |