X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/bd70a5f5884ec46983ac32a1ae0b48f4d356a9d5..cc209063904ed5d86a34b2297ceac00854ff6c01:/src/redis.c?ds=sidebyside diff --git a/src/redis.c b/src/redis.c index 5b39c011..6d803269 100644 --- a/src/redis.c +++ b/src/redis.c @@ -78,6 +78,8 @@ struct redisCommand readonlyCommandTable[] = { {"strlen",strlenCommand,2,0,NULL,1,1,1}, {"del",delCommand,-2,0,NULL,0,0,0}, {"exists",existsCommand,2,0,NULL,1,1,1}, + {"setbit",setbitCommand,4,REDIS_CMD_DENYOOM,NULL,1,1,1}, + {"getbit",getbitCommand,3,0,NULL,1,1,1}, {"incr",incrCommand,2,REDIS_CMD_DENYOOM,NULL,1,1,1}, {"decr",decrCommand,2,REDIS_CMD_DENYOOM,NULL,1,1,1}, {"mget",mgetCommand,-2,0,NULL,1,-1,1},