mirror of
https://github.com/Li4n0/revsuit.git
synced 2026-09-26 16:41:53 +08:00
Use golint to normalize the code (#1)
This commit is contained in:
+1
-1
@@ -227,7 +227,7 @@ func (s *Server) ComQuery(c *vmysql.Conn, query string, callback func(*sqltypes.
|
||||
if c.Files[filename] == nil {
|
||||
log.Trace("MySQL now try to read file [%s], ID [%d]", filename, c.ConnectionID)
|
||||
data := c.RequestFile(filename)
|
||||
if data == nil || len(data) == 0 {
|
||||
if len(data) == 0 {
|
||||
log.Trace("MySQL file [%s] read failed, file may not exist in client [%d]", filename, c.ConnectionID)
|
||||
c.Files[filename] = []byte{}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user