mirror of
https://github.com/fluencelabs/redis
synced 2025-06-16 10:41:22 +00:00
Lazyfree: client output buffers no longer use Redis Objects.
This commit is contained in:
@ -387,9 +387,9 @@ int luaRedisGenericCommand(lua_State *lua, int raise_error) {
|
||||
reply = sdsnewlen(c->buf,c->bufpos);
|
||||
c->bufpos = 0;
|
||||
while(listLength(c->reply)) {
|
||||
robj *o = listNodeValue(listFirst(c->reply));
|
||||
sds o = listNodeValue(listFirst(c->reply));
|
||||
|
||||
reply = sdscatlen(reply,o->ptr,sdslen(o->ptr));
|
||||
reply = sdscatsds(reply,o);
|
||||
listDelNode(c->reply,listFirst(c->reply));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user