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

twice 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 a25c054b Add no-multi no-script flags to SHUTDOWN command (#1957)
a25c054b is described below

commit a25c054b77ffa39c24cd37aff294762942f6b808
Author: Binbin <[email protected]>
AuthorDate: Tue Dec 19 22:39:02 2023 +0800

    Add no-multi no-script flags to SHUTDOWN command (#1957)
---
 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 95132094..b47b63b7 100644
--- a/src/commands/cmd_server.cc
+++ b/src/commands/cmd_server.cc
@@ -1138,7 +1138,7 @@ REDIS_REGISTER_COMMANDS(MakeCmdAttr<CommandAuth>("auth", 
2, "read-only ok-loadin
                         MakeCmdAttr<CommandPerfLog>("perflog", -2, 
"read-only", 0, 0, 0),
                         MakeCmdAttr<CommandClient>("client", -2, "read-only", 
0, 0, 0),
                         MakeCmdAttr<CommandMonitor>("monitor", 1, "read-only 
no-multi", 0, 0, 0),
-                        MakeCmdAttr<CommandShutdown>("shutdown", 1, 
"read-only", 0, 0, 0),
+                        MakeCmdAttr<CommandShutdown>("shutdown", 1, "read-only 
no-multi no-script", 0, 0, 0),
                         MakeCmdAttr<CommandQuit>("quit", 1, "read-only", 0, 0, 
0),
                         MakeCmdAttr<CommandScan>("scan", -2, "read-only", 0, 
0, 0),
                         MakeCmdAttr<CommandRandomKey>("randomkey", 1, 
"read-only", 0, 0, 0),

Reply via email to