Update table_cache.cc

This commit is contained in:
Ibrahim Memon 2022-10-20 17:41:49 +05:00 committed by GitHub
parent aa5479bbf4
commit 470158b08e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,7 @@ TableCache::~TableCache() { delete cache_; }
Status TableCache::FindTable(uint64_t file_number, uint64_t file_size, Status TableCache::FindTable(uint64_t file_number, uint64_t file_size,
Cache::Handle** handle) { Cache::Handle** handle) {
Check Status :a
Status s; Status s;
char buf[sizeof(file_number)]; char buf[sizeof(file_number)];
EncodeFixed64(buf, file_number); EncodeFixed64(buf, file_number);