Skip to content

Commit 4d27a6b

Browse files
committed
f
1 parent 4cae0a0 commit 4d27a6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

be/src/runtime/memory/lru_cache_policy.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ class LRUCachePolicy : public CachePolicy {
257257
if (!_enable_prune) {
258258
LOG(INFO) << "[MemoryGC] " << type_string(_type)
259259
<< " cache prune disabled, so could not adjust capacity to free memory";
260+
return 0;
260261
}
261262
size_t old_capacity = get_capacity();
262263
int64_t old_mem_consumption = mem_consumption();

0 commit comments

Comments
 (0)