diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2014-04-02 08:12:27 +0200 |
---|---|---|
committer | Salvatore Sanfilippo <antirez@gmail.com> | 2014-04-02 08:12:27 +0200 |
commit | cef505d7390c5f5c7268fc0589cad90beb39f16f (patch) | |
tree | b48c9307a52b30975f476b0af18ef6849379bb89 | |
parent | 4ab162a5599b900173a3b4ced218c46971ba6507 (diff) | |
parent | bf066c875f625d5740f2a85d56d36140023c9dc8 (diff) | |
download | redis-cef505d7390c5f5c7268fc0589cad90beb39f16f.tar.gz |
Merge pull request #1646 from raydog/unstable
Change HLL* to PF* in a few spots
-rw-r--r-- | src/hyperloglog.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/hyperloglog.c b/src/hyperloglog.c index b4a607d57..546dd0fb6 100644 --- a/src/hyperloglog.c +++ b/src/hyperloglog.c @@ -458,7 +458,7 @@ void pfaddCommand(redisClient *c) { * exactly. */ if (stringObjectLen(o) != REDIS_HLL_SIZE) { addReplyErrorFormat(c, - "HLLADD target key must contain a %d bytes string.", + "PFADD target key must contain a %d bytes string.", REDIS_HLL_SIZE); return; } @@ -475,7 +475,7 @@ void pfaddCommand(redisClient *c) { } if (updated) { signalModifiedKey(c->db,c->argv[1]); - notifyKeyspaceEvent(REDIS_NOTIFY_STRING,"hlladd",c->argv[1],c->db->id); + notifyKeyspaceEvent(REDIS_NOTIFY_STRING,"pfadd",c->argv[1],c->db->id); server.dirty++; /* Invalidate the cached cardinality. */ registers[REDIS_HLL_SIZE-1] |= (1<<7); @@ -502,7 +502,7 @@ void pfcountCommand(redisClient *c) { * exactly. */ if (stringObjectLen(o) != REDIS_HLL_SIZE) { addReplyErrorFormat(c, - "HLLCOUNT target key must contain a %d bytes string.", + "PFCOUNT 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, - "HLLADD target key must contain a %d bytes string.", + "PFADD target key must contain a %d bytes string.", REDIS_HLL_SIZE); return; } @@ -602,7 +602,7 @@ void pfmergeCommand(redisClient *c) { signalModifiedKey(c->db,c->argv[1]); /* We generate an HLLADD event for HLLMERGE for semantical simplicity * since in theory this is a mass-add of elements. */ - notifyKeyspaceEvent(REDIS_NOTIFY_STRING,"hlladd",c->argv[1],c->db->id); + notifyKeyspaceEvent(REDIS_NOTIFY_STRING,"pfadd",c->argv[1],c->db->id); server.dirty++; addReply(c,shared.ok); } |