mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 21:41:32 +00:00
RESP3: remove certain constants to spot places to fix.
This commit is contained in:
@ -1429,9 +1429,8 @@ void createSharedObjects(void) {
|
||||
shared.czero = createObject(OBJ_STRING,sdsnew(":0\r\n"));
|
||||
shared.cone = createObject(OBJ_STRING,sdsnew(":1\r\n"));
|
||||
shared.cnegone = createObject(OBJ_STRING,sdsnew(":-1\r\n"));
|
||||
shared.nullbulk = createObject(OBJ_STRING,sdsnew("$-1\r\n"));
|
||||
shared.nullmultibulk = createObject(OBJ_STRING,sdsnew("*-1\r\n"));
|
||||
shared.emptymultibulk = createObject(OBJ_STRING,sdsnew("*0\r\n"));
|
||||
shared.emptyarray = createObject(OBJ_STRING,sdsnew("*0\r\n"));
|
||||
shared.null = createObject(OBJ_STRING,sdsnew("_\r\n"));
|
||||
shared.pong = createObject(OBJ_STRING,sdsnew("+PONG\r\n"));
|
||||
shared.queued = createObject(OBJ_STRING,sdsnew("+QUEUED\r\n"));
|
||||
shared.emptyscan = createObject(OBJ_STRING,sdsnew("*2\r\n$1\r\n0\r\n*0\r\n"));
|
||||
|
Reference in New Issue
Block a user