瀏覽代碼

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;
     }