Remove redundant stuff
This commit is contained in:
		
							parent
							
								
									08c7552515
								
							
						
					
					
						commit
						fb382876ef
					
				| @ -463,7 +463,6 @@ func parseDSNParams(cfg *Config, params string) (err error) { | ||||
| 		// Collation | ||||
| 		case "collation": | ||||
| 			cfg.Collation = value | ||||
| 			break | ||||
| 
 | ||||
| 		case "columnsWithAlias": | ||||
| 			var isBool bool | ||||
|  | ||||
| @ -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 | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user