소스 검색

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

Daniele Alessandri 13 년 전
부모
커밋
81da6d2553
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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'),
         );
     }