You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by "jiangdongzi (via GitHub)" <gi...@apache.org> on 2023/06/12 13:29:49 UTC

[I] redis不支持空字符串 (brpc)

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: dev-unsubscribe@brpc.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


Re: [I] brpc redis客户端不支持空字符串 (brpc)

Posted by "chenBright (via GitHub)" <gi...@apache.org>.
chenBright closed issue #2275: brpc redis客户端不支持空字符串
URL: https://github.com/apache/brpc/issues/2275


-- 
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: issues-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@brpc.apache.org
For additional commands, e-mail: issues-help@brpc.apache.org


Re: [I] brpc redis客户端不支持空字符串 (brpc)

Posted by "Huixxi (via GitHub)" <gi...@apache.org>.
Huixxi commented on issue #2275:
URL: https://github.com/apache/brpc/issues/2275#issuecomment-1646860573

   key设置为空的目的是什么?


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org