mirror of
https://github.com/redis/redis.git
synced 2026-06-09 00:33:08 -04:00
Merge pull request #6890 from itamarhaber/patch-trackingGetTotalKeys
Fixes segfault on calling trackingGetTotalKeys
This commit is contained in:
commit
ddb80bb3d4
1 changed files with 1 additions and 0 deletions
|
|
@ -441,5 +441,6 @@ uint64_t trackingGetTotalItems(void) {
|
|||
}
|
||||
|
||||
uint64_t trackingGetTotalKeys(void) {
|
||||
if (TrackingTable == NULL) return 0;
|
||||
return raxSize(TrackingTable);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue