Browse Source

Set raw arguments when switching from scripted command to EVAL.

Daniele Alessandri 13 năm trước cách đây
mục cha
commit
78360ea27b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/Predis/Client.php

+ 1 - 1
lib/Predis/Client.php

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