jamesge commented on a change in pull request #972: Redis server protocol
URL: https://github.com/apache/incubator-brpc/pull/972#discussion_r354714097
 
 

 ##########
 File path: src/brpc/redis_reply.h
 ##########
 @@ -160,6 +189,80 @@ inline int64_t RedisReply::integer() const {
     return 0;
 }
 
+inline bool RedisReply::SetNilString() {
+    if (!_arena) return false;
 
 Review comment:
   要么强制要求只能设置一次,要么释放之前的资源

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to