1
0
Fork 0

Remove redundant stuff

This commit is contained in:
Gregory Eremin 2018-11-20 21:33:53 +01:00
parent 08c7552515
commit fb382876ef
2 changed files with 0 additions and 9 deletions

View File

@ -463,7 +463,6 @@ func parseDSNParams(cfg *Config, params string) (err error) {
// Collation
case "collation":
cfg.Collation = value
break
case "columnsWithAlias":
var isBool bool

View File

@ -3,7 +3,6 @@ package slave
import (
"context"
"fmt"
"io"
"os"
"github.com/localhots/bocadillo/buffer"
@ -138,10 +137,3 @@ func (c *Conn) runCmd(data []byte) error {
}
return c.conn.ReadResultOK()
}
func notEOF(err error) error {
if err == io.EOF {
return nil
}
return err
}