mirror of https://github.com/tidwall/tile38.git
Removed unused code
This commit is contained in:
parent
13f39d99c6
commit
58421ef806
|
@ -101,23 +101,6 @@ func (server *Server) loadAOF() error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// func qlower(s []byte) string {
|
|
||||||
// if len(s) == 3 {
|
|
||||||
// if s[0] == 'S' && s[1] == 'E' && s[2] == 'T' {
|
|
||||||
// return "set"
|
|
||||||
// }
|
|
||||||
// if s[0] == 'D' && s[1] == 'E' && s[2] == 'L' {
|
|
||||||
// return "del"
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// for i := 0; i < len(s); i++ {
|
|
||||||
// if s[i] >= 'A' || s[i] <= 'Z' {
|
|
||||||
// return strings.ToLower(string(s))
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// return string(s)
|
|
||||||
// }
|
|
||||||
|
|
||||||
func commandErrIsFatal(err error) bool {
|
func commandErrIsFatal(err error) bool {
|
||||||
// FSET (and other writable commands) may return errors that we need
|
// FSET (and other writable commands) may return errors that we need
|
||||||
// to ignore during the loading process. These errors may occur (though unlikely)
|
// to ignore during the loading process. These errors may occur (though unlikely)
|
||||||
|
|
Loading…
Reference in New Issue