ports/174237: databases/php5-redis - zAdd does not set the correct score for values 1000 & above
Jumbuck Entertainment
jumbuckent at gmail.com
Sat Dec 8 06:20:01 UTC 2012
The following reply was made to PR ports/174237; it has been noted by GNATS.
From: Jumbuck Entertainment <jumbuckent at gmail.com>
To: bug-followup at FreeBSD.org, boda2004 at gmail.com
Cc:
Subject: Re: ports/174237: databases/php5-redis - zAdd does not set the
correct score for values 1000 & above
Date: Sat, 8 Dec 2012 07:19:43 +0100
I've applied patch from
http://www.freebsd.org/cgi/query-pr.cgi?pr=173643&cat=ports and
confirm that issue is resolved in 2.2.2:
First run with 2.2.1_1 php5-redis port:
pkg_info | grep php5-redis
php5-redis-2.2.1_1 PHP5-Extension for Redis
php code:
php -r '$redis_handle = new
Redis();$redis_handle->connect("192.168.22.104",
6379);$redis_handle->zadd("player-time", microtime(true), "110");'
redis-cli MONITOR
1354946977.710626 [0 192.168.22.101:65438] "ZADD" "player-time" "1" "110"
Second run after applying patch and installing updated port (2.2.2):
pkg_info | grep php5-redis
php5-redis-2.2.2 PHP5-Extension for Redis
php code:
php -r '$redis_handle = new
Redis();$redis_handle->connect("192.168.22.104",
6379);$redis_handle->zadd("player-time", microtime(true), "110");'
redis-cli MONITOR
1354947244.096231 [0 192.168.22.101:12120] "ZADD" "player-time"
"1354947244.09559798" "110"
More information about the freebsd-ports-bugs
mailing list