You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by GitBox <gi...@apache.org> on 2022/11/26 10:30:55 UTC

[GitHub] [incubator-kvrocks] git-hulk commented on a diff in pull request #1140: Introduce command register mechanism to allow splitting command definition to multiple TUs

git-hulk commented on code in PR #1140:
URL: https://github.com/apache/incubator-kvrocks/pull/1140#discussion_r1032768843


##########
src/commands/redis_cmd.cc:
##########
@@ -6312,8 +6288,7 @@ const CommandAttributes redisCommandTable[]{
     MakeCmdAttr<CommandDisk>("disk", 3, "read-only", 0, 0, 0),
     MakeCmdAttr<CommandHello>("hello", -1, "read-only ok-loading", 0, 0, 0),
 
-    MakeCmdAttr<CommandTTL>("ttl", 2, "read-only", 1, 1, 1),
-    MakeCmdAttr<CommandPTTL>("pttl", 2, "read-only", 1, 1, 1),
+    MakeCmdAttr<CommandTTL>("ttl", 2, "read-only", 1, 1, 1), MakeCmdAttr<CommandPTTL>("pttl", 2, "read-only", 1, 1, 1),

Review Comment:
   Does it auto-format by clang-format?



-- 
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@kvrocks.apache.org

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