This is an automated email from the ASF dual-hosted git repository.

hulk pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git


The following commit(s) were added to refs/heads/unstable by this push:
     new a1cbd1a9 Fix RESET arity and command flags (#2018)
a1cbd1a9 is described below

commit a1cbd1a921d43d75a8537fb1ba6aa76b4e39841a
Author: Binbin <[email protected]>
AuthorDate: Mon Jan 15 09:48:32 2024 +0800

    Fix RESET arity and command flags (#2018)
---
 src/commands/cmd_server.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/commands/cmd_server.cc b/src/commands/cmd_server.cc
index e0700af8..ef1f9a17 100644
--- a/src/commands/cmd_server.cc
+++ b/src/commands/cmd_server.cc
@@ -1324,6 +1324,6 @@ REDIS_REGISTER_COMMANDS(MakeCmdAttr<CommandAuth>("auth", 
2, "read-only ok-loadin
                         MakeCmdAttr<CommandStats>("stats", 1, "read-only", 0, 
0, 0),
                         MakeCmdAttr<CommandRdb>("rdb", -3, "write exclusive", 
0, 0, 0),
                         MakeCmdAttr<CommandAnalyze>("analyze", -1, "", 0, 0, 
0),
-                        MakeCmdAttr<CommandReset>("reset", -1, "multi 
pub-sub", 0, 0, 0),
+                        MakeCmdAttr<CommandReset>("reset", 1, "ok-loading 
multi no-script pub-sub", 0, 0, 0),
                         MakeCmdAttr<CommandApplyBatch>("applybatch", -2, 
"write no-multi", 0, 0, 0), )
 }  // namespace redis

Reply via email to