Pārlūkot izejas kodu

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

Daniele Alessandri 15 gadi atpakaļ
vecāks
revīzija
dac4d87a60
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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;
     }