When in multi show a nice error if not using TransactionJedis

This commit is contained in:
Jonathan Leibiusky
2010-08-27 17:22:21 -03:00
parent f55deca678
commit 7c0505511e
4 changed files with 128 additions and 6 deletions

View File

@@ -405,10 +405,11 @@ public class Transaction {
public List<Object> exec() {
client.exec();
return client.getObjectMultiBulkReply();
}
public void discard() {
client.discard();
}
public void discard() {
client.discard();
}
}