Pieter Noordhuis
|
f483ce5ffe
|
fix unexpected behavior on an out of range end index for LRANGE and LTRIM
|
2010-06-24 15:12:42 -07:00 |
|
Pieter Noordhuis
|
c2ff0e90b8
|
more pub/sub tests
|
2010-06-16 11:03:23 +02:00 |
|
Pieter Noordhuis
|
4589a823fd
|
initial basic pub/sub tests
|
2010-06-16 11:01:42 +02:00 |
|
Pieter Noordhuis
|
676740a960
|
fix BLPOP/BRPOP to use the wrapped function for list length
|
2010-06-15 21:23:24 +02:00 |
|
Pieter Noordhuis
|
5eedc9c65e
|
tests for BLPOP/BRPOP via an option in the tcl client that defers reading the reply
|
2010-06-15 21:23:18 +02:00 |
|
Pieter Noordhuis
|
4774a53b24
|
fix behavior for out-of-range negative end index on ZREMRANGEBYRANK
|
2010-06-15 16:21:42 +02:00 |
|
Pieter Noordhuis
|
184d74abc6
|
more tests for zrange and zrevrange; fix behavior for out-of-range negative end index
|
2010-06-15 15:40:28 +02:00 |
|
antirez
|
d5096a28d7
|
TODO updated
|
2010-06-14 17:59:03 +02:00 |
|
antirez
|
d52e588869
|
Merge branch 'ltrim-tests' of git://github.com/pietern/redis
|
2010-06-14 10:22:38 +02:00 |
|
Pieter Noordhuis
|
7e79de541a
|
rename "list" to "linkedlist" to be more verbose
|
2010-06-14 10:21:23 +02:00 |
|
antirez
|
7d04fc7563
|
allow running the test suite against an external Redis instance, without auto spawning
|
2010-06-14 10:19:45 +02:00 |
|
Pieter Noordhuis
|
08b5920750
|
change ltrim tests to cover all min/max cases and add stronger stresser
|
2010-06-14 09:45:34 +02:00 |
|
antirez
|
3042fb0537
|
Fixed deps in makefile and mkreleasehdr.sh script to really take advantage of the new trick to avoid recompilation of redis.c on git sha1 or dirty status change
|
2010-06-13 23:51:43 +02:00 |
|
antirez
|
7c4fc71c15
|
hopefully faster recompiling with a trick
|
2010-06-13 23:45:14 +02:00 |
|
Pieter Noordhuis
|
400aea2b13
|
expand the dictionary of the target set to the right size when converting from intset
|
2010-06-13 21:52:07 +02:00 |
|
Pieter Noordhuis
|
273f616930
|
make sure sets have the right encoding when loaded from rdb
|
2010-06-13 21:42:04 +02:00 |
|
Pieter Noordhuis
|
ab37269c38
|
use max number of intset entries in tests and make SUNION/SINTER/SDIFF tests use less entries
|
2010-06-13 21:37:46 +02:00 |
|
antirez
|
bb039e853d
|
fixed a bug in rdbLoadObject abount specially encoded objects
|
2010-06-13 21:09:51 +02:00 |
|
Pieter Noordhuis
|
70ff3511bc
|
configure maximum number of entries in an intset
|
2010-06-13 15:21:25 +02:00 |
|
Pieter Noordhuis
|
a8dca69bb3
|
use raw strings when loading a hash from the rdb into a zipmap
|
2010-06-13 15:07:53 +02:00 |
|
Pieter Noordhuis
|
b978abbf02
|
small refactor of SMOVE and tests for SMOVE on sets with different encoding
|
2010-06-13 11:16:18 +02:00 |
|
Pieter Noordhuis
|
d0b58d5300
|
intset encoding for sets, refactored set tests to test both encodings
|
2010-06-12 22:25:22 +02:00 |
|
antirez
|
f6475c7250
|
Merge branch 'expire' of git://github.com/pietern/redis
|
2010-06-12 16:26:04 +02:00 |
|
antirez
|
ac9b8cfe57
|
Merge branch 'lists' of git://github.com/pietern/redis
|
2010-06-11 20:27:56 +02:00 |
|
Pieter Noordhuis
|
e24d93762f
|
intset housekeeping
|
2010-06-11 19:22:27 +02:00 |
|
Pieter Noordhuis
|
35cabcb505
|
wrapper functions for the set type to support multiple encodings
|
2010-06-11 18:35:57 +02:00 |
|
Pieter Noordhuis
|
7d288d6547
|
LPUSHX, RPUSHX, LINSERT only work on non-empty lists, so there are no clients waiting for a push
|
2010-06-11 17:35:48 +02:00 |
|
Pieter Noordhuis
|
23d3a5feef
|
make LINSERT return -1 when the value could not be inserted
|
2010-06-11 17:34:23 +02:00 |
|
Pieter Noordhuis
|
3ab98cef4e
|
move logic for obvious corner cases to intsetSearch
|
2010-06-11 15:07:24 +02:00 |
|
Pieter Noordhuis
|
144b0094c3
|
initial implementation for the intset
|
2010-06-11 15:07:24 +02:00 |
|
Pieter Noordhuis
|
70b4b320ae
|
check if the list encoding needs to be changed on LPUSHX, RPUSHX, LINSERT
|
2010-06-11 14:52:35 +02:00 |
|
Pieter Noordhuis
|
244b873b0c
|
make sure the value to insert is string encoded
|
2010-06-11 13:27:21 +02:00 |
|
Pieter Noordhuis
|
bcfb387694
|
rename vars, move arguments, add comments
|
2010-06-11 13:15:28 +02:00 |
|
Pieter Noordhuis
|
1240552da9
|
always iterate from head to tail on LINSERT
|
2010-06-11 12:03:15 +02:00 |
|
Pieter Noordhuis
|
279d7e67cf
|
use REDIS_TAIL to insert AFTER an entry and REDIS_HEAD to insert BEFORE an entry
|
2010-06-11 11:53:16 +02:00 |
|
Pieter Noordhuis
|
0e1684bcd0
|
move listTypeInsert to be grouped with other wrapper functions
|
2010-06-11 10:52:09 +02:00 |
|
Robey Pointer
|
dedff272f6
|
squashed merge from robey/twitter3: LINSERT BEFORE|AFTER, LPUSHX, RPUSHX
|
2010-06-11 10:09:46 +02:00 |
|
Pieter Noordhuis
|
306974f5d7
|
remove pop function and the sds dependency; can be implemented using get+delete
|
2010-06-09 11:36:58 +02:00 |
|
Pieter Noordhuis
|
4e16d8b312
|
compute swappability for ziplist encoded lists
|
2010-06-07 21:53:21 +02:00 |
|
Pieter Noordhuis
|
829137b9a0
|
reuse the sds from the main dictionary in the expiration dictionary
|
2010-06-07 20:44:12 +02:00 |
|
antirez
|
056c19c6f2
|
TODO updated
|
2010-06-07 18:30:18 +02:00 |
|
antirez
|
b785b2bf66
|
encode integers while loading an hash
|
2010-06-07 18:07:46 +02:00 |
|
antirez
|
65cc766581
|
Merge branch 'lists' of git://github.com/pietern/redis
|
2010-06-05 11:18:58 +02:00 |
|
Pieter Noordhuis
|
cd627d4e78
|
fixed two leaks for the dual encoded lists
|
2010-06-05 11:16:50 +02:00 |
|
antirez
|
6b0253fabd
|
TODO updated
|
2010-06-04 21:19:28 +02:00 |
|
antirez
|
a26452263f
|
DISCSARD now unwatches all keys, as it should
|
2010-06-04 21:19:06 +02:00 |
|
Pieter Noordhuis
|
ab193fe452
|
generated tests for different encodings to avoid test code duplication
|
2010-06-04 17:05:54 +02:00 |
|
Pieter Noordhuis
|
d4507ec615
|
refactor list tests to test both encodings; implemented assert functions
|
2010-06-04 16:31:27 +02:00 |
|
Pieter Noordhuis
|
d1578a33ee
|
renamed hash wrapper functions to match wrapper function naming convention: "<type>Type<func>"
|
2010-06-04 11:52:39 +02:00 |
|
antirez
|
422cf21f15
|
Merge branch 'lists' of git://github.com/pietern/redis
|
2010-06-04 11:36:37 +02:00 |
|