1
0
mirror of https://github.com/redis/go-redis.git synced 2025-06-14 01:21:30 +03:00

More benchmarks.

This commit is contained in:
Vladimir Mihailenco
2014-07-04 15:19:45 +03:00
parent 42ce58ed85
commit 00a131e3a9
4 changed files with 82 additions and 6 deletions

View File

@ -73,8 +73,7 @@ func (c *Pipeline) Exec() ([]Cmder, error) {
}
func (c *Pipeline) execCmds(cn *conn, cmds []Cmder) error {
err := c.writeCmd(cn, cmds...)
if err != nil {
if err := c.writeCmd(cn, cmds...); err != nil {
setCmdsErr(cmds, err)
return err
}