Fixes segfault on calling trackingGetTotalKeys

... with CSC disabled
This commit is contained in:
Itamar Haber
2020-02-27 18:00:46 +01:00
committed by antirez
parent 73d47d5749
commit e374573f30
+1
View File
@@ -441,5 +441,6 @@ uint64_t trackingGetTotalItems(void) {
}
uint64_t trackingGetTotalKeys(void) {
if (TrackingTable == NULL) return 0;
return raxSize(TrackingTable);
}