Ver Fonte

TIME can be considered a read-only command in MASTER / SLAVE.

Daniele Alessandri há 13 anos atrás
pai
commit
81da6d2553
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      lib/Predis/Connection/MasterSlaveReplication.php

+ 1 - 0
lib/Predis/Connection/MasterSlaveReplication.php

@@ -409,6 +409,7 @@ class MasterSlaveReplication implements ReplicationConnectionInterface
             'ECHO'              => true,
             'ECHO'              => true,
             'QUIT'              => true,
             'QUIT'              => true,
             'OBJECT'            => true,
             'OBJECT'            => true,
+            'TIME'              => true,
             'SORT'              => array($this, 'isSortReadOnly'),
             'SORT'              => array($this, 'isSortReadOnly'),
         );
         );
     }
     }