Fix Jedis persist does not execute as part of a transaction

DATAREDIS-160
This commit is contained in:
Jennifer Hickey
2013-04-01 16:44:51 -07:00
parent 634e8ccd72
commit 4e13ac5b86
2 changed files with 1 additions and 9 deletions

View File

@@ -699,7 +699,7 @@ public class JedisConnection implements RedisConnection {
public Boolean persist(byte[] key) {
try {
if (isQueueing()) {
client.persist(key);
transaction.persist(key);
return null;
}
if (isPipelined()) {