summaryrefslogtreecommitdiff
path: root/src/hyperloglog.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2020-04-21 10:51:46 +0200
committerantirez <antirez@gmail.com>2020-04-21 10:51:46 +0200
commit94f2e7f9f9f7e6eca8f8bd7ae412c34806e68351 (patch)
tree2927805c22e495387d171df16cd530147245a02b /src/hyperloglog.c
parentc7db333abb0e45ff8974ef2d1fc4f9ae1e7be1e2 (diff)
downloadredis-94f2e7f9f9f7e6eca8f8bd7ae412c34806e68351.tar.gz
Tracking: NOLOOP internals implementation.
Diffstat (limited to 'src/hyperloglog.c')
-rw-r--r--src/hyperloglog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hyperloglog.c b/src/hyperloglog.c
index facd99743..721f492a1 100644
--- a/src/hyperloglog.c
+++ b/src/hyperloglog.c
@@ -1209,7 +1209,7 @@ void pfaddCommand(client *c) {
}
hdr = o->ptr;
if (updated) {
- signalModifiedKey(c->db,c->argv[1]);
+ signalModifiedKey(c,c->db,c->argv[1]);
notifyKeyspaceEvent(NOTIFY_STRING,"pfadd",c->argv[1],c->db->id);
server.dirty++;
HLL_INVALIDATE_CACHE(hdr);
@@ -1300,7 +1300,7 @@ void pfcountCommand(client *c) {
* data structure is not modified, since the cached value
* may be modified and given that the HLL is a Redis string
* we need to propagate the change. */
- signalModifiedKey(c->db,c->argv[1]);
+ signalModifiedKey(c,c->db,c->argv[1]);
server.dirty++;
}
addReplyLongLong(c,card);
@@ -1373,7 +1373,7 @@ void pfmergeCommand(client *c) {
last hllSparseSet() call. */
HLL_INVALIDATE_CACHE(hdr);
- signalModifiedKey(c->db,c->argv[1]);
+ signalModifiedKey(c,c->db,c->argv[1]);
/* We generate a PFADD event for PFMERGE for semantical simplicity
* since in theory this is a mass-add of elements. */
notifyKeyspaceEvent(NOTIFY_STRING,"pfadd",c->argv[1],c->db->id);