Skip to content

Commit

Permalink
Allow runing RANDOMKEY in lua script (#1746)
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-binbin committed Sep 7, 2023
1 parent 59012ac commit 1e9a609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/cmd_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 1e9a609

Please sign in to comment.