Fix Lettuce exec to return null when pipelining

DATAREDIS-139
This commit is contained in:
Jennifer Hickey
2013-04-01 10:09:02 -07:00
parent b3a0deebf8
commit a40555ed19
3 changed files with 3 additions and 7 deletions

View File

@@ -460,7 +460,8 @@ public class LettuceConnection implements RedisConnection {
isMulti = false;
try {
if (isPipelined()) {
return Collections.singletonList((Object) asyncConn.exec());
asyncConn.exec();
return null;
}
return con.exec();
} catch (Exception ex) {