Unverified Commit ddb80bb3 authored by Salvatore Sanfilippo's avatar Salvatore Sanfilippo Committed by GitHub
Browse files

Merge pull request #6890 from itamarhaber/patch-trackingGetTotalKeys

Fixes segfault on calling trackingGetTotalKeys
parents 090bc0c1 8a44b2cc
...@@ -441,5 +441,6 @@ uint64_t trackingGetTotalItems(void) { ...@@ -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);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment