Преглед на файлове

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

Daniele Alessandri преди 15 години
родител
ревизия
dac4d87a60
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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;
     }