From dac4d87a60db7085148e4f6edb2665657a961ce6 Mon Sep 17 00:00:00 2001 From: Daniele Alessandri Date: Fri, 26 Feb 2010 22:42:09 +0100 Subject: [PATCH] Bugfix: the pipeline command buffer is not correctly reinitialized after CommandPipeline->flushPipeline. --- lib/Predis.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Predis.php b/lib/Predis.php index 81983b96..9d853390 100644 --- a/lib/Predis.php +++ b/lib/Predis.php @@ -439,6 +439,7 @@ class CommandPipeline { $this->_returnValues[] = $connection->readResponse($commands[$i]); unset($commands[$i]); } + $this->_pipelineBuffer = array(); return $this; }