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 // Collation
case "collation": case "collation":
cfg.Collation = value cfg.Collation = value
break
case "columnsWithAlias": case "columnsWithAlias":
var isBool bool var isBool bool

View File

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