21057 Commits

Author SHA1 Message Date
Pieter Noordhuis
8218db3dae Little less obfuscation 2011-03-08 21:36:46 +01:00
Pieter Noordhuis
b7ef5a413a Support dual encoding in ZREM 2011-03-08 17:11:15 +01:00
Pieter Noordhuis
0b10e10444 Support dual encoding in ZREM 2011-03-08 17:11:15 +01:00
antirez
11a762d70e removed useless call 2011-03-08 16:52:39 +01:00
antirez
e270a7fa58 removed useless call 2011-03-08 16:52:39 +01:00
Pieter Noordhuis
32c4aca960 Don't encode element argument when dealing with ziplist 2011-03-08 16:51:41 +01:00
Pieter Noordhuis
3ca7532a2d Don't encode element argument when dealing with ziplist 2011-03-08 16:51:41 +01:00
Pieter Noordhuis
490ea44244 Initial work for ziplist backed sorted sets 2011-03-08 16:44:22 +01:00
Pieter Noordhuis
21c5b508a4 Initial work for ziplist backed sorted sets 2011-03-08 16:44:22 +01:00
Pieter Noordhuis
89e62535ca Add function to create ziplist-backed sorted set 2011-03-08 16:08:52 +01:00
Pieter Noordhuis
9e7cee0ed0 Add function to create ziplist-backed sorted set 2011-03-08 16:08:52 +01:00
Pieter Noordhuis
dade20df05 Fast conversion of double when representable as long long 2011-03-08 16:08:11 +01:00
Pieter Noordhuis
672b0a1b25 Fast conversion of double when representable as long long 2011-03-08 16:08:11 +01:00
antirez
a059f57fb8 same final call of two if branches moved outside 2011-03-08 15:55:34 +01:00
antirez
3a21cb99e5 same final call of two if branches moved outside 2011-03-08 15:55:34 +01:00
antirez
09bd58958c useless function removed 2011-03-08 15:10:20 +01:00
antirez
e09b51869b useless function removed 2011-03-08 15:10:20 +01:00
antirez
a89f187009 comment typo fixed 2011-03-08 15:03:51 +01:00
antirez
c5b6f46132 comment typo fixed 2011-03-08 15:03:51 +01:00
Pieter Noordhuis
e534a4c268 Rename zset range functions 2011-03-08 10:57:53 +01:00
Pieter Noordhuis
45290ad9bb Rename zset range functions 2011-03-08 10:57:53 +01:00
Pieter Noordhuis
f68fbab536 Test for ranges where min > max 2011-03-08 10:57:39 +01:00
Pieter Noordhuis
8e1b327706 Test for ranges where min > max 2011-03-08 10:57:39 +01:00
Pieter Noordhuis
e8521a02bc Compiler should decide on inlining 2011-03-08 10:57:33 +01:00
Pieter Noordhuis
df278b8b0b Compiler should decide on inlining 2011-03-08 10:57:33 +01:00
Pieter Noordhuis
acb51177dc Move logic concerned with zset ranges
This also optimizes ZREVRANGEBYSCORE for pathological cases where a
sorted set contains many elements with the same score. Previously,
it would traverse the list from back to front in such a case.
2011-03-08 10:57:24 +01:00
Pieter Noordhuis
22b9bf1594 Move logic concerned with zset ranges
This also optimizes ZREVRANGEBYSCORE for pathological cases where a
sorted set contains many elements with the same score. Previously,
it would traverse the list from back to front in such a case.
2011-03-08 10:57:24 +01:00
Pieter Noordhuis
de3fda38b6 Undo rename of function names where something went wrong 2011-03-08 10:57:06 +01:00
Pieter Noordhuis
a300477368 Undo rename of function names where something went wrong 2011-03-08 10:57:06 +01:00
antirez
2e325cfa18 Merge remote branch 'pietern/unstable-sigs' into unstable 2011-03-07 12:22:00 +01:00
antirez
c2f816b423 Merge remote branch 'pietern/unstable-sigs' into unstable 2011-03-07 12:22:00 +01:00
Pieter Noordhuis
a98b288aac Show database number in cli prompt when non-zero 2011-03-06 21:14:40 +01:00
Pieter Noordhuis
3f4eef215b Show database number in cli prompt when non-zero 2011-03-06 21:14:40 +01:00
Pieter Noordhuis
8c86583a31 Store SELECTed database for reconnect (issue #468) 2011-03-06 20:46:49 +01:00
Pieter Noordhuis
96e34b3ce1 Store SELECTed database for reconnect (issue #468) 2011-03-06 20:46:49 +01:00
Pieter Noordhuis
b31d5e7305 Minor memory leak in redis-cli (issue #464) 2011-03-06 20:13:01 +01:00
Pieter Noordhuis
33753a732a Minor memory leak in redis-cli (issue #464) 2011-03-06 20:13:01 +01:00
Pieter Noordhuis
cd998263fd Only save history when stdin is a tty (issue #465) 2011-03-06 20:02:33 +01:00
Pieter Noordhuis
ca36b4ab31 Only save history when stdin is a tty (issue #465) 2011-03-06 20:02:33 +01:00
Pieter Noordhuis
b1360a13ca Save RDB on SIGTERM (see issue #471) 2011-03-06 17:49:40 +01:00
Pieter Noordhuis
633a941028 Save RDB on SIGTERM (see issue #471) 2011-03-06 17:49:40 +01:00
antirez
a0ffb6f5cc possible fix for a failed assertion introduced with the latest diskstore speedup fix 2011-03-04 18:10:43 +01:00
antirez
d9fac6c07a possible fix for a failed assertion introduced with the latest diskstore speedup fix 2011-03-04 18:10:43 +01:00
antirez
338d6cb3ea Fixed return value of GETRANGE / SUBSTR 2011-03-04 16:22:50 +01:00
antirez
0b537972f4 Fixed return value of GETRANGE / SUBSTR 2011-03-04 16:22:50 +01:00
antirez
a1907821b9 AOF file descriptor leak fixed 2011-03-04 16:13:54 +01:00
antirez
4aec2ec8c4 AOF file descriptor leak fixed 2011-03-04 16:13:54 +01:00
antirez
cf8ab35834 TTL command fixed to work reliably with diskstore 2011-03-04 15:49:01 +01:00
antirez
15db4aa006 TTL command fixed to work reliably with diskstore 2011-03-04 15:49:01 +01:00
antirez
79fb74aee0 debugging message moved from REDIS_WARING to REDIS_DEBUG 2011-03-04 15:45:38 +01:00