Merge remote-tracking branch 'github/pr/159' into v0.8

This commit is contained in:
Daniele Alessandri
2014-05-28 12:58:03 +02:00
5 changed files with 5 additions and 0 deletions
@@ -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',