Nicolas Favre-Felix
4197a7ffed
Tag 2.2.2
2.2.2
2012-08-29 10:25:54 +01:00
Nicolas Favre-Felix
9c224410f3
Merge pull request #225 from pavel-krush/master
...
Fix segfault when using persistent connections
2012-08-29 00:41:51 -07:00
Nicolas Favre-Felix
e8c3b13b68
Add 'database' parameter to Redis sessions
...
Fixes GitHub issue #235 .
2012-08-28 22:01:52 +01:00
Michael Grunder
e3417ace8e
Merge pull request #234 from oylbin/master
...
fix 64bit compatibility problem for issue #233
2012-08-19 12:03:41 -07:00
oylbin
97ad396c87
64bit compatibility problem
...
fix type problem of zend_parse_parameters in eval, evalsha, migrate
2012-08-20 01:37:53 +08:00
michael-grunder
22f455593a
Add common.h to redis_session.c
2012-08-16 13:15:31 -07:00
michael-grunder
8e433c4794
Merge branch 'php-numencode'
2012-08-16 12:40:48 -07:00
michael-grunder
89bdaf22cb
Remove a debug line
2012-08-08 16:20:19 -07:00
michael-grunder
5362d686ee
Merge branch 'master' of github.com:nicolasff/phpredis
2012-08-08 16:13:56 -07:00
michael-grunder
691786bc7f
Properly apply a prefix on sort(), sortAsc(), and sortDesc() methods with an
...
included unit test to make sure it's working properly.
This fixes issue #226
2012-08-08 16:09:57 -07:00
neon
dedee1f7ae
fix segfault when using persistent connections
2012-08-07 01:42:08 +07:00
Nicolas Favre-Felix
f3dff08cfa
Fix host|file condition in session backend.
...
Should address #184 . Adding a slash at the end would make phpredis
consider "/" as the path and ignore the host. Having a host name now
takes precedence over having a file name.
2012-07-09 21:47:54 +01:00
michael-grunder
a568029864
Actually remove the test for now
2012-07-06 10:19:49 -07:00
michael-grunder
a7122c3664
Remove test for now
2012-07-06 10:10:18 -07:00
michael-grunder
0bd2e2cf37
Fix INCRBY/DECRBY for large values
...
Thanks to @maxixcom for discovering that we were using int values
for INCR(BY) and DECR(BY), which caused some issues with large
values.
Fixes issue #212
2012-07-06 09:56:37 -07:00
michael-grunder
d4c2c1c91a
Add back nuked comment lines
2012-07-02 13:05:59 -07:00
michael-grunder
83f3440b88
PHP 5.4 number encode fix
2012-07-02 12:56:10 -07:00
michael-grunder
2b101e2332
Added a specific clause in the failure/failover logic for the TYPE command,
...
as it will return a LONG response of ZERO if the key is not found. Given
that other commands can actually return zero and are not failures, the
specific check was needed.
Fixes issue #207
2012-06-23 10:02:57 -07:00
michael-grunder
8af15d7c8b
Added EXISTS as a read-only command, which sorts issue #206
2012-06-23 09:08:47 -07:00
michael-grunder
889b2f2e9c
RedisArray fixes
...
I created this branch to go through issues raised by @seansawyer regarding
RedisArray functionality. The first commit addresses issue #205 (KEYS)
command. More investigation is required for the two other issues raised.
2012-06-22 17:07:34 -07:00
michael-grunder
f1231c98e2
TIME command
2012-06-05 09:04:10 -07:00
michael-grunder
f295c1c9d6
Allow integer keys for MSET
2012-06-04 23:58:01 -07:00
michael-grunder
21d6614215
Ensure that we have a string when adding k->v items. The value could be otherwise if it was unserialized (fixes issue #195 )
2012-05-30 09:16:41 -07:00
Nicolas Favre-Felix
6510bd9649
Add MIGRATE documentation.
2012-05-29 22:47:33 +01:00
Nicolas Favre-Felix
82a5f70670
Merge branch 'master' of https://github.com/michael-grunder/phpredis into michael-grunder
2012-05-29 22:34:54 +01:00
Nicolas Favre-Felix
d990b4c10a
Merge branch 'master' of github.com:nicolasff/phpredis
2012-05-29 22:22:32 +01:00
maxbeutel
158d90b035
Fixing serializer initialization and destruction in PHP 5.4.
2012-05-29 22:18:58 +01:00
michael-grunder
8b1a64b43c
TSRMLS_CC
2012-05-29 12:29:17 -07:00
michael-grunder
c4fb26e2ac
Merge remote-tracking branch 'upstream/master'
2012-05-29 10:37:49 -07:00
michael-grunder
8283007248
MIGRAGE command
2012-05-29 10:37:45 -07:00
Nicolas Favre-Felix
4169dc2519
Add missing TSRMLS_CC.
...
Fix for GitHub issue #193 .
2012-05-29 12:09:16 +01:00
Nicolas Favre-Felix
38e2cca3cf
Merge branch '0-reconnect-select'
2012-05-27 22:26:08 +01:00
Nicolas Favre-Felix
2e70c5a5a9
Merge branch 'reconnect-select' of https://github.com/0/phpredis into 0-reconnect-select
2012-05-27 22:24:58 +01:00
Nicolas Favre-Felix
bcabe601b2
Fix EOLs
2012-05-27 22:14:03 +01:00
Nicolas Favre-Felix
c800d20918
Merge branch 'michael-grunder'
2012-05-27 22:13:02 +01:00
Nicolas Favre-Felix
74729aa01b
Merge branch 'master' of https://github.com/michael-grunder/phpredis into michael-grunder
2012-05-27 22:08:09 +01:00
maxbeutel
c12a8738be
Use module API version instead of PHP_MAJOR/MINOR version. Fix char as argument
2012-05-23 15:29:54 +02:00
maxbeutel
72a041c7f8
use helper for converting from double to string, use _ex version of _php_math_number_format_ex for PHP 5.4
2012-05-23 13:35:58 +02:00
maxbeutel
c1bc92bf48
replace remaining occurences of _php_math_number_format
2012-05-23 12:08:37 +02:00
maxbeutel
0081e4dfce
added testcase
2012-05-23 11:27:35 +02:00
maxbeutel
2e1a03c7be
fix problem upon converting score to string
2012-05-23 10:11:40 +02:00
michael-grunder
e15fcfc299
Fixed doc formatting
2012-05-21 12:13:46 -07:00
michael-grunder
fe02d5d89e
Removed unused code and updated unit tests to use === comparison instead of ==. In addition, removed string conversion conditional as per Nicolasff
2012-05-20 16:59:51 -07:00
michael-grunder
6a533797e0
Added PIPELINE/MULTI unit test for EVAL, updated docs with new commands
2012-05-20 16:22:01 -07:00
michael-grunder
568aad3e4b
Remove exclusion code from unit test
2012-05-19 15:10:18 -07:00
michael-grunder
e89d38554a
Fix segfault in _unserialize when we get badly formed data
2012-05-19 15:08:11 -07:00
michael-grunder
f00ed2aad8
Unit tests for EVAL, EVALSHA, DUMP, RESTORE, _unserialize, and _prefix
2012-05-19 13:47:17 -07:00
michael-grunder
0ca8a1df21
Merge remote-tracking branch 'upstream/master'
2012-05-17 14:48:31 -07:00
Nicolas Favre-Felix
f8f552e3b2
Cleaner handling of large values on 32-bits.
...
Tested on 32-bits, addresses GitHub issue #174 .
2012-05-17 22:45:32 +01:00
Nicolas Favre-Felix
74675fb774
Fix for 32-bit integer overflows on large timeouts
...
Timeouts in milliseconds overflow longs on 32-bit architectures.
This fix replaces the integer return with a float on 32-bit.
Ref: GitHub issue #174 .
2012-05-17 22:16:36 +01:00