mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-04 00:16:30 +08:00
support Command command
This commit is contained in:
@@ -107,6 +107,8 @@ func (server *Server) Exec(c redis.Connection, cmdLine [][]byte) (result redis.R
|
||||
return protocol.MakeArgNumErrReply("SLAVEOF")
|
||||
}
|
||||
return server.execSlaveOf(c, cmdLine[1:])
|
||||
} else if cmdName == "command" {
|
||||
return execCommand(cmdLine)
|
||||
}
|
||||
|
||||
// read only slave
|
||||
|
Reference in New Issue
Block a user