Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
21c93724
Commit
21c93724
authored
Apr 01, 2014
by
Raymond Myers
Committed by
antirez
Apr 16, 2014
Browse files
Change HLL* to PF* in error messages
parent
f307a510
Changes
1
Show whitespace changes
Inline
Side-by-side
src/hyperloglog.c
View file @
21c93724
...
...
@@ -458,7 +458,7 @@ void pfaddCommand(redisClient *c) {
* exactly. */
if
(
stringObjectLen
(
o
)
!=
REDIS_HLL_SIZE
)
{
addReplyErrorFormat
(
c
,
"
HLL
ADD target key must contain a %d bytes string."
,
"
PF
ADD target key must contain a %d bytes string."
,
REDIS_HLL_SIZE
);
return
;
}
...
...
@@ -502,7 +502,7 @@ void pfcountCommand(redisClient *c) {
* exactly. */
if
(
stringObjectLen
(
o
)
!=
REDIS_HLL_SIZE
)
{
addReplyErrorFormat
(
c
,
"
HLL
COUNT target key must contain a %d bytes string."
,
"
PF
COUNT target key must contain a %d bytes string."
,
REDIS_HLL_SIZE
);
return
;
}
...
...
@@ -562,7 +562,7 @@ void pfmergeCommand(redisClient *c) {
if
(
stringObjectLen
(
o
)
!=
REDIS_HLL_SIZE
)
{
addReplyErrorFormat
(
c
,
"
HLL
ADD target key must contain a %d bytes string."
,
"
PF
ADD target key must contain a %d bytes string."
,
REDIS_HLL_SIZE
);
return
;
}
...
...
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