Sfoglia il codice sorgente

Fix missing use directives.

This miss caused a PHP error when Redis did not return a +QUEUED
reply inside a MULTI / EXEC command.
Daniele Alessandri 12 anni fa
parent
commit
51b466267d
2 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 7 0
      CHANGELOG.md
  2. 1 0
      lib/Predis/Transaction/MultiExecContext.php

+ 7 - 0
CHANGELOG.md

@@ -1,3 +1,10 @@
+v0.8.1 (201x-xx-xx)
+
+- __FIX__: a missing use directive in `Predis\Transaction\MultiExecContext`
+  caused PHP errors when Redis did not return `+QUEUED` replies to commands
+  when inside a MULTI / EXEC context.
+
+
 v0.8.0 (2012-10-23)
 v0.8.0 (2012-10-23)
 ===============================================================================
 ===============================================================================
 
 

+ 1 - 0
lib/Predis/Transaction/MultiExecContext.php

@@ -17,6 +17,7 @@ use Predis\ClientException;
 use Predis\ClientInterface;
 use Predis\ClientInterface;
 use Predis\CommunicationException;
 use Predis\CommunicationException;
 use Predis\ExecutableContextInterface;
 use Predis\ExecutableContextInterface;
+use Predis\Helpers;
 use Predis\NotSupportedException;
 use Predis\NotSupportedException;
 use Predis\ResponseErrorInterface;
 use Predis\ResponseErrorInterface;
 use Predis\ResponseQueued;
 use Predis\ResponseQueued;