You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2020/12/17 22:23:21 UTC

[GitHub] [incubator-brpc] zyearn commented on issue #1305: 使用Redis Channel的时候发送Redis命令的疑问

zyearn commented on issue #1305:
URL: https://github.com/apache/incubator-brpc/issues/1305#issuecomment-747737645


   > 而使用ZRANGE的时候则相反,AddCommandByComponents传入butil::StringPiece凑成ZRANGE key 0 -1会得不到结果,
   
   用StringPiece的时候需要原始的string是存在的,而这里StringPiece的参数是临时构造的string,在用parts的时候临时的string已经析构了。


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

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