From 07b8d9c868f7360d3c901acb88f4870732620622 Mon Sep 17 00:00:00 2001 From: hwware Date: Wed, 5 Feb 2025 21:06:58 +0000 Subject: [PATCH] restore &mem_used to NULL Signed-off-by: hwware --- src/evict.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evict.c b/src/evict.c index af8c782b0c..5b2fb1c721 100644 --- a/src/evict.c +++ b/src/evict.c @@ -706,7 +706,7 @@ int performEvictions(void) { * across the dbAsyncDelete() call, while the thread can * release the memory all the time. */ if (server.lazyfree_lazy_eviction) { - if (getMaxmemoryState(NULL, &mem_used, NULL, NULL, server.key_eviction_memory) == C_OK) { + if (getMaxmemoryState(NULL, NULL, NULL, NULL, server.key_eviction_memory) == C_OK) { break; } }