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
e374573f
Commit
e374573f
authored
Feb 14, 2020
by
Itamar Haber
Committed by
antirez
Feb 27, 2020
Browse files
Fixes segfault on calling trackingGetTotalKeys
... with CSC disabled
parent
73d47d57
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/tracking.c
View file @
e374573f
...
@@ -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