mirror of
https://github.com/fluencelabs/redis
synced 2025-06-18 19:51:22 +00:00
initial fix of the test suite to run both in in-memory and diskstore mode
This commit is contained in:
@ -186,7 +186,7 @@ size_t zmalloc_used_memory(void) {
|
||||
}
|
||||
|
||||
size_t zmalloc_allocations_for_size(size_t size) {
|
||||
if (size > ZMALLOC_MAX_ALLOC_STAT || size < 0) return 0;
|
||||
if (size > ZMALLOC_MAX_ALLOC_STAT) return 0;
|
||||
return zmalloc_allocations[size];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user