pipelineReadCmds always retry=true, maybe bug

This commit is contained in:
shaoguang 2017-04-12 20:11:20 +08:00
parent 7475b2fb0a
commit d910e51498
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ func pipelineReadCmds(cn *pool.Conn, cmds []Cmder) (retry bool, firstErr error)
firstErr = err firstErr = err
} }
} }
return false, firstErr return
} }
func (c *baseClient) txPipelineProcessCmds(cn *pool.Conn, cmds []Cmder) (bool, error) { func (c *baseClient) txPipelineProcessCmds(cn *pool.Conn, cmds []Cmder) (bool, error) {