ragnaros2046 opened a new issue, #3106:
URL: https://github.com/apache/kvrocks/issues/3106

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/kvrocks/issues) and found no similar issues.
   
   
   ### Version
   
   2.12.1
   
   ### Minimal reproduce step
   
   `
   local function test(keys, args)
        redis.call("ZADD", "abc", 1, "ddd")
        return redis.call("ZRANGE", "abc", "+inf", "-inf","REV","BYSCORE", 
"LIMIT", 0, 100,"WITHSCORES");
   end
   
   > fcall test 1 1
   ddd
   1
   
   local function test(keys, args)
           redis.setresp(3)
        redis.call("ZADD", "abc", 1, "ddd")
        return redis.call("ZRANGE", "abc", "+inf", "-inf","REV","BYSCORE", 
"LIMIT", 0, 100,"WITHSCORES");
   end
   
   > fcall test 1 1
   Protocol error, got "," as reply type byte. Please report this.
   
   `
   
   ### What did you expect to see?
   
   since return information are same between resp2 and resp3 on  
https://redis.io/docs/latest/commands/zrange/. result should match.
   
   ### What did you see instead?
   
   N/A
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to