mirror of
https://github.com/predis/predis.git
synced 2026-08-30 04:02:22 +00:00
Fix missing BITPOS in replication strategy.
This commit is contained in:
@@ -227,6 +227,7 @@ class ReplicationStrategy
|
||||
'QUIT' => true,
|
||||
'OBJECT' => true,
|
||||
'BITCOUNT' => true,
|
||||
'BITPOS' => true,
|
||||
'TIME' => true,
|
||||
'PFCOUNT' => true,
|
||||
'SORT' => array($this, 'isSortReadOnly'),
|
||||
|
||||
@@ -245,7 +245,6 @@ class ReplicationStrategyTest extends PredisTestCase
|
||||
'ECHO' => 'read',
|
||||
'QUIT' => 'read',
|
||||
'OBJECT' => 'read',
|
||||
'BITCOUNT' => 'read',
|
||||
'TIME' => 'read',
|
||||
'SHUTDOWN' => 'disallowed',
|
||||
'INFO' => 'disallowed',
|
||||
@@ -281,6 +280,9 @@ class ReplicationStrategyTest extends PredisTestCase
|
||||
'DECRBY' => 'write',
|
||||
'GET' => 'read',
|
||||
'GETBIT' => 'read',
|
||||
'BITCOUNT' => 'read',
|
||||
'BITPOS' => 'read',
|
||||
'BITOP' => 'write',
|
||||
'MGET' => 'read',
|
||||
'SET' => 'write',
|
||||
'GETRANGE' => 'read',
|
||||
|
||||
Reference in New Issue
Block a user