Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
ddb80bb3
Unverified
Commit
ddb80bb3
authored
Feb 14, 2020
by
Salvatore Sanfilippo
Committed by
GitHub
Feb 14, 2020
Browse files
Merge pull request #6890 from itamarhaber/patch-trackingGetTotalKeys
Fixes segfault on calling trackingGetTotalKeys
parents
090bc0c1
8a44b2cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/tracking.c
View file @
ddb80bb3
...
@@ -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
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment