HLLSELFTEST command implemented.

To test the bitfield array of counters set/get macros from the Redis Tcl
suite is hard, so a specialized command that is able to test the
internals was developed.
This commit is contained in:
antirez
2014-03-28 12:11:36 +01:00
parent be20651435
commit c7344144f4
4 changed files with 53 additions and 8 deletions

View File

@ -267,7 +267,8 @@ struct redisCommand redisCommandTable[] = {
{"bitop",bitopCommand,-4,"wm",0,NULL,2,-1,1,0,0},
{"bitcount",bitcountCommand,-2,"r",0,NULL,1,1,1,0,0},
{"bitpos",bitposCommand,-3,"r",0,NULL,1,1,1,0,0},
{"wait",waitCommand,3,"rs",0,NULL,0,0,0,0,0}
{"wait",waitCommand,3,"rs",0,NULL,0,0,0,0,0},
{"hllselftest",hllSelftestCommand,1,"r",0,NULL,0,0,0,0,0},
};
struct evictionPoolEntry *evictionPoolAlloc(void);