mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
Fixes segfault on calling trackingGetTotalKeys
... with CSC disabled
This commit is contained in:
@@ -441,5 +441,6 @@ uint64_t trackingGetTotalItems(void) {
|
||||
}
|
||||
|
||||
uint64_t trackingGetTotalKeys(void) {
|
||||
if (TrackingTable == NULL) return 0;
|
||||
return raxSize(TrackingTable);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user