mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Fixes segfault on calling trackingGetTotalKeys
... with CSC disabled
This commit is contained in:
parent
090bc0c1a3
commit
8a44b2cc7e
@ -441,5 +441,6 @@ uint64_t trackingGetTotalItems(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint64_t trackingGetTotalKeys(void) {
|
uint64_t trackingGetTotalKeys(void) {
|
||||||
|
if (TrackingTable == NULL) return 0;
|
||||||
return raxSize(TrackingTable);
|
return raxSize(TrackingTable);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user