michael-grunder
8e433c4794
Merge branch 'php-numencode'
2012-08-16 12:40:48 -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
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
83f3440b88
PHP 5.4 number encode fix
2012-07-02 12:56:10 -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
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
maxbeutel
0081e4dfce
added testcase
2012-05-23 11:27:35 +02: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
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
Dmitri Iouchtchenko
db3c3c5d2a
Added SELECT after reconnect
...
This prevents the DB number from being reset to zero after a timeout and
subsequent automatic reconnect.
2012-05-08 22:50:36 -04:00
michael-grunder
c9dbfeb29d
Added optional string parameter to INFO
2012-05-06 17:55:50 -07:00
michael-grunder
3b87da6343
Remove unused vars, commented code for HINCRBYFLOAT
2012-05-04 18:26:47 -07:00
michael-grunder
24c1023de8
Fix data type for HINCRBYFLOAT unit test
2012-05-04 13:11:41 -07:00
michael-grunder
d59b53b6b5
Implemented INCRBYFLOAT and HINCRBYFLOAT
2012-05-04 12:12:03 -07:00
Nicolas Favre-Felix
00b5784e8c
Add test for GitHub issue #118 .
2012-04-29 18:48:50 +01:00
Nicolas Favre-Felix
8d67222370
Convert first parameter to ZADD to string.
...
Fixes GitHub issue #121 .
2012-04-29 18:36:01 +01:00
Nicolas Favre-Felix
c4a5370a82
Add ECHO.
...
Covered by unit test; fixes GitHub issue #165 .
2012-04-16 13:16:27 +01:00
Nicolas Favre-Felix
80767ee314
Fixed smembers test
2012-04-09 10:30:58 +01:00
Nicolas Favre-Felix
199d5e696f
Fix issue with interned igbinary strings.
...
Possibly related to ticket #145 .
2012-03-15 00:05:17 +00:00
Nicolas Favre-Felix
1a1a81bf62
Fixed issue with HDEL in serialize mode.
...
Addresses GitHub issue #114 . Fixed unit test as well.
2011-12-30 13:50:39 +00:00
Nicolas Favre-Felix
c6672f0a96
Fixed weight type issue in ZUNION.
...
(Fixes GitHub issue #109 ).
2011-12-26 18:01:51 +00:00
Nicolas Favre-Felix
d0d00341ff
Make sure publish() can be called in a pipeline.
...
This will also make it possible to use publish()
in a MULTI/EXEC context. Fixes GitHub issue #104 .
2011-12-13 19:54:13 +00:00
Nicolas Favre-Felix
78f0abf3ec
Fixed crash on ZREM with missing parameter.
...
generic_multiple_args_cmd() checked for missing
parameters but was missing a return FAILURE when
the number of parameters was lower than expected.
A unit test was added. This fixes GiHub issue #102 .
2011-12-11 22:32:57 +00:00
Nicolas Favre-Felix
6cbbcfe997
Fixed unit tests.
2011-11-27 19:44:09 +00:00
Nicolas Favre-Felix
90a82d3d9c
Fixed issue with ZSCORE in MULTI/EXEC context.
...
This addresses GiHub issue #78 .
2011-11-09 13:33:27 +00:00
Nicolas Favre-Felix
27fc7c79a2
Bugfix for hgetall used with serializer.
...
Fixes issue #62 .
Also started removing phpunit, it is such a pain to use.
2011-11-03 22:23:15 +00:00
Nicolas Favre-Felix
552e44fdf9
Fixed GitHub issues #57 and #58 .
2011-10-10 13:36:29 +01:00
Nicolas Favre-Felix
2b22f2e994
Fixed ZADD parameter handling (Issue #55 ).
...
phpredis used to implement the variadic ZADD command with the "*"
zend parameter handler, which seems too recent even for PHP 5.2.4.
This commit handles variadic arguments in a more portable way and
adds a unit test for variadic ZADD.
2011-10-02 12:47:30 +01:00
Nicolas Favre-Felix
9708eab9e0
Made LPUSH/RPUSH variadic.
2011-08-08 22:34:06 +01:00
Nicolas Favre-Felix
f968c17f2b
Made ZREM variadic.
2011-08-01 22:50:55 +01:00
Nicolas Favre-Felix
331f405162
Made SREM variadic
2011-08-01 22:43:55 +01:00
Nicolas Favre-Felix
1fb940430f
Made SADD variadic
2011-08-01 22:41:00 +01:00
Nicolas Favre-Felix
b783d7e3aa
Better variadic function, variadic HDEL.
2011-08-01 22:37:22 +01:00
Nicolas Favre-Felix
5c65c0394e
Updated unit tests
2011-08-01 21:43:18 +01:00
Nicolas Favre-Felix
1eef6a6e01
Fixed LIMIT input for sorts.
2011-04-25 22:41:43 +02:00
Nicolas Favre-Felix
fbdf65c75c
Added OBJECT command.
2011-04-06 14:32:39 +02:00
Nicolas Favre-Felix
99af20e3ef
ported change to RENAMENX from upstream Redis.
2011-03-30 13:37:23 +02:00
Nicolas Favre-Felix
393cfb0c8e
Fix KEYS when serializer is enabled.
2011-02-22 09:50:59 +01:00
Nicolas Favre-Felix
f717ac07a0
HINCRBY bugfix + unit test.
2011-02-15 09:45:47 +01:00
Nicolas Favre-Felix
3d08f295c5
Fix problem related to issue 91.
2011-02-14 15:12:15 +01:00
Nicolas Favre-Felix
ed61e0f893
Fix for issue #91 , numeric hash fields.
2011-02-13 14:41:35 +01:00
Nicolas Favre-Felix
a086b0e55b
Add missing ZREMRANGEBYRANK + doc, tests.
2011-01-24 16:26:40 +01:00
Nicolas Favre-Felix
426609531f
Add HSETNX.
2011-01-24 16:08:09 +01:00
Nicolas Favre-Felix
a15d84cb76
Added MSETNX.
2011-01-20 14:35:54 +01:00
Nicolas Favre-Felix
5c4d937a47
Removed test failing with old versions of Redis.
2011-01-20 14:31:55 +01:00