Explorar o código

Bugfix: the pipeline command buffer is not correctly reinitialized after CommandPipeline->flushPipeline.

Daniele Alessandri %!s(int64=15) %!d(string=hai) anos
pai
achega
dac4d87a60
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lib/Predis.php

+ 1 - 0
lib/Predis.php

@@ -439,6 +439,7 @@ class CommandPipeline {
             $this->_returnValues[] = $connection->readResponse($commands[$i]);
             unset($commands[$i]);
         }
+        $this->_pipelineBuffer = array();
 
         return $this;
     }