mirror of
https://github.com/predis/predis.git
synced 2026-08-30 20:21:31 +00:00
Merge remote-tracking branch 'github/pr/159' into v0.8
This commit is contained in:
@@ -73,6 +73,7 @@ class PredisClusterHashStrategy implements CommandHashStrategyInterface
|
||||
'GETSET' => $keyIsFirstArgument,
|
||||
'INCR' => $keyIsFirstArgument,
|
||||
'INCRBY' => $keyIsFirstArgument,
|
||||
'INCRBYFLOAT' => $keyIsFirstArgument,
|
||||
'SETBIT' => $keyIsFirstArgument,
|
||||
'SETEX' => $keyIsFirstArgument,
|
||||
'MSET' => array($this, 'getKeyFromInterleavedArguments'),
|
||||
|
||||
@@ -70,6 +70,7 @@ class RedisClusterHashStrategy implements CommandHashStrategyInterface
|
||||
'GETSET' => $keyIsFirstArgument,
|
||||
'INCR' => $keyIsFirstArgument,
|
||||
'INCRBY' => $keyIsFirstArgument,
|
||||
'INCRBYFLOAT' => $keyIsFirstArgument,
|
||||
'SETBIT' => $keyIsFirstArgument,
|
||||
'SETEX' => $keyIsFirstArgument,
|
||||
'MSET' => array($this, 'getKeyFromInterleavedArguments'),
|
||||
|
||||
@@ -277,6 +277,7 @@ class PredisClusterHashStrategyTest extends PredisTestCase
|
||||
'GETSET' => 'keys-first',
|
||||
'INCR' => 'keys-first',
|
||||
'INCRBY' => 'keys-first',
|
||||
'INCRBYFLOAT' => 'keys-first',
|
||||
'SETBIT' => 'keys-first',
|
||||
'SETEX' => 'keys-first',
|
||||
'MSET' => 'keys-interleaved',
|
||||
|
||||
@@ -288,6 +288,7 @@ class RedisClusterHashStrategyTest extends PredisTestCase
|
||||
'GETSET' => 'keys-first',
|
||||
'INCR' => 'keys-first',
|
||||
'INCRBY' => 'keys-first',
|
||||
'INCRBYFLOAT' => 'keys-first',
|
||||
'SETBIT' => 'keys-first',
|
||||
'SETEX' => 'keys-first',
|
||||
'MSET' => 'keys-interleaved',
|
||||
|
||||
@@ -286,6 +286,7 @@ class ReplicationStrategyTest extends PredisTestCase
|
||||
'GETSET' => 'write',
|
||||
'INCR' => 'write',
|
||||
'INCRBY' => 'write',
|
||||
'INCRBYFLOAT' => 'write',
|
||||
'SETBIT' => 'write',
|
||||
'SETEX' => 'write',
|
||||
'MSET' => 'write',
|
||||
|
||||
Reference in New Issue
Block a user