mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-05 08:46:56 +08:00
WIP
This commit is contained in:
@@ -164,6 +164,7 @@ func (db *DB) GetUndoLogs(cmdLine [][]byte) []CmdLine {
|
||||
}
|
||||
|
||||
// GetRelatedKeys analysis related keys
|
||||
// returns related write keys and read keys
|
||||
func GetRelatedKeys(cmdLine [][]byte) ([]string, []string) {
|
||||
cmdName := strings.ToLower(string(cmdLine[0]))
|
||||
cmd, ok := cmdTable[cmdName]
|
||||
|
Reference in New Issue
Block a user