Added BITFIELD_RO variants for read-only operations.

This commit is contained in:
bodong.ybd
2020-03-04 20:51:45 +08:00
committed by antirez
parent 50f8f9504b
commit b3e4abf06e
4 changed files with 54 additions and 1 deletions

View File

@ -238,6 +238,10 @@ struct redisCommand redisCommandTable[] = {
"write use-memory @bitmap",
0,NULL,1,1,1,0,0,0},
{"bitfield_ro",bitfieldroCommand,-2,
"read-only fast @bitmap",
0,NULL,1,1,1,0,0,0},
{"setrange",setrangeCommand,4,
"write use-memory @string",
0,NULL,1,1,1,0,0,0},