jiangdongzi opened a new issue, #2275:
URL: https://github.com/apache/brpc/issues/2275

   **Describe the bug (描述bug)**
       brpc::RedisRequest request;  
       std::string value("");
       request.AddCommand("set key %b", value.data(), value.size());
   
   **To Reproduce (复现方法)**
   以上
   
   **Expected behavior (期望行为)**
   设置key的值为空字符串成功,   因为redis本身支持空字符串
   
   **Versions (各种版本)**
   OS:
   Compiler:
   brpc:
   protobuf:
   
   **Additional context/screenshots (更多上下文/截图)**
   报错为, 参数个数不对, 应该是拼接命令字符串的时候有问题
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to