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 1e9a6097 Allow runing RANDOMKEY in lua script (#1746)
1e9a6097 is described below
commit 1e9a609724e244972f35a7f1e01edca39bb6d1cc
Author: Binbin <[email protected]>
AuthorDate: Thu Sep 7 22:41:17 2023 +0800
Allow runing RANDOMKEY in lua script (#1746)
---
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 11a17c83..681912b4 100644
--- a/src/commands/cmd_server.cc
+++ b/src/commands/cmd_server.cc
@@ -1081,7 +1081,7 @@ REDIS_REGISTER_COMMANDS(MakeCmdAttr<CommandAuth>("auth",
2, "read-only ok-loadin
MakeCmdAttr<CommandShutdown>("shutdown", 1,
"read-only", 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 no-script", 0, 0, 0),
+ MakeCmdAttr<CommandRandomKey>("randomkey", 1,
"read-only", 0, 0, 0),
MakeCmdAttr<CommandDebug>("debug", -2, "read-only
exclusive", 0, 0, 0),
MakeCmdAttr<CommandCommand>("command", -1,
"read-only", 0, 0, 0),
MakeCmdAttr<CommandEcho>("echo", 2, "read-only", 0, 0,
0),