Merge pull request #545 from FlamingTree/master

pipelineReadCmds always retry=true, maybe bug
This commit is contained in:
Vladimir Mihailenco 2017-04-13 13:12:00 +03:00 committed by GitHub
commit 62ecc61210
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) {