Explorar o código

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

Daniele Alessandri %!s(int64=13) %!d(string=hai) anos
pai
achega
81da6d2553
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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,
             'QUIT'              => true,
             'OBJECT'            => true,
+            'TIME'              => true,
             'SORT'              => array($this, 'isSortReadOnly'),
         );
     }