Skip to content

Commit dc03577

Browse files
committed
v160rc4
1 parent 16067f5 commit dc03577

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
## CHANGELOG
22

3-
### v1.6.0 (2017-01-02)
3+
### v1.6.0 (2017-01-07)
44
- Added support for Redis 4.0 (the Client was tested with Redis 4.0 RC2).
55
- Added support for Redis Cluster.
6-
- Added method **_syncClusterSlotsFromRedisServer**.
6+
- Added method **_syncClusterSlotsFromRedisServer** for RedisClient.
77
- Added command **SWAPDB**, **UNLINK**, **MEMORY** for Redis >= 4.0
88
- Updated command **FLUSHALL**, **FLUSHDB** for Redis >= 4.0
99

examples/transactions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
/**
1313
* Transactions
14-
* Note. Be careful in use pipeline with Clusters.
14+
* Note. Be careful in use transactions with Clusters. Try to use pipeline for it.
1515
*/
1616

1717
namespace Examples;

src/RedisClient/Cluster/Hash/Crc16.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Crc16 {
5353
*/
5454
public static function hash($value) {
5555
$value = (string)$value;
56-
$crc = 0x0000;
56+
$crc = 0;
5757
for ($i = 0, $len = strlen($value); $i < $len; ++$i) {
5858
$crc = 0xFFFF & (self::$crc16tab[($crc >> 8) ^ ord($value[$i])] ^ ($crc << 8));
5959
}

0 commit comments

Comments
 (0)