Set raw arguments when switching from scripted command to EVAL.

This commit is contained in:
Daniele Alessandri
2012-04-28 18:04:54 +02:00
parent 214b7d2dc9
commit 78360ea27b
+1 -1
View File
@@ -249,7 +249,7 @@ class Client implements ClientInterface
{
if ($command instanceof ScriptedCommand && $response->getErrorType() === 'NOSCRIPT') {
$eval = $this->createCommand('eval');
$eval->setArguments($command->getEvalArguments());
$eval->setRawArguments($command->getEvalArguments());
return $this->executeCommand($eval);
}