antirez
603e616bf4
Merge branch 'master' of github.com:antirez/redis
2010-12-14 17:42:46 +01:00
antirez
f1367a37aa
Merge remote branch 'pietern/strrange'
2010-12-14 17:42:01 +01:00
antirez
57997664ea
Merge remote branch 'pietern/strrange'
2010-12-14 17:42:01 +01:00
Pieter Noordhuis
6e4ac1ba44
Zero-pad timestamps in MONITOR output
...
Original report and fix:
http://code.google.com/p/redis/issues/detail?id=404
2010-12-14 17:39:34 +01:00
Pieter Noordhuis
2b2eca1f56
Zero-pad timestamps in MONITOR output
...
Original report and fix:
http://code.google.com/p/redis/issues/detail?id=404
2010-12-14 17:39:34 +01:00
antirez
1871873c0b
initialized a few vars just to avoid warnings, not a real problem.
2010-12-14 16:39:33 +01:00
antirez
96b5d05fde
initialized a few vars just to avoid warnings, not a real problem.
2010-12-14 16:39:33 +01:00
antirez
31cfc6bf21
Merge remote branch 'pietern/brpoplpush'
2010-12-14 16:26:37 +01:00
antirez
f858c11d7d
Merge remote branch 'pietern/brpoplpush'
2010-12-14 16:26:37 +01:00
Pieter Noordhuis
c247d94dff
Refactor and rename SUBSTR to GETRANGE
...
SUBSTR is renamed to GETRANGE to have better consistency between command
names (with SETRANGE as its dual). GETRANGE is still aliased as SUBSTR.
2010-12-14 15:16:29 +01:00
Pieter Noordhuis
ef11bcccca
Refactor and rename SUBSTR to GETRANGE
...
SUBSTR is renamed to GETRANGE to have better consistency between command
names (with SETRANGE as its dual). GETRANGE is still aliased as SUBSTR.
2010-12-14 15:16:29 +01:00
Pieter Noordhuis
641289670c
Add SETRANGE command implementation and tests
2010-12-14 14:20:51 +01:00
Pieter Noordhuis
9f9e1ceaa0
Add SETRANGE command implementation and tests
2010-12-14 14:20:51 +01:00
antirez
a2a232690a
cow friendly HGETALL and variants
2010-12-14 12:10:51 +01:00
antirez
8c304be359
cow friendly HGETALL and variants
2010-12-14 12:10:51 +01:00
Pieter Noordhuis
fae765c340
Don't decode object on STRLEN when not necessary
2010-12-14 10:42:41 +01:00
Pieter Noordhuis
7ecd4644e7
Don't decode object on STRLEN when not necessary
2010-12-14 10:42:41 +01:00
antirez
867babee79
previouse INCR implementation restored, was actually faster for some reson not fully clear at the moment
2010-12-10 19:15:00 +01:00
antirez
afd438dfff
previouse INCR implementation restored, was actually faster for some reson not fully clear at the moment
2010-12-10 19:15:00 +01:00
antirez
8708423dfe
dont take the fast path for INCR if the resulting integer will fit into a shared integer range
2010-12-10 17:23:38 +01:00
antirez
a15742a41b
dont take the fast path for INCR if the resulting integer will fit into a shared integer range
2010-12-10 17:23:38 +01:00
antirez
5427631128
faster INCR doing far less allocation in common cases
2010-12-10 17:03:38 +01:00
antirez
b215a496a4
faster INCR doing far less allocation in common cases
2010-12-10 17:03:38 +01:00
antirez
a49886233b
fixed compilation on Linux
2010-12-10 15:47:01 +01:00
antirez
dd48de748c
fixed compilation on Linux
2010-12-10 15:47:01 +01:00
antirez
8db0de3f57
valgrind suppression file added
2010-12-10 15:36:04 +01:00
antirez
e9bc56dbed
valgrind suppression file added
2010-12-10 15:36:04 +01:00
antirez
0978984100
HGET HMGET are now COW friendly, plus API refactoring and changes needed for the new implementation.
2010-12-10 15:17:55 +01:00
antirez
3d24304ff9
HGET HMGET are now COW friendly, plus API refactoring and changes needed for the new implementation.
2010-12-10 15:17:55 +01:00
Pieter Noordhuis
cc8322919a
Change function name to match what it does
2010-12-10 12:16:16 +01:00
Pieter Noordhuis
cc20906390
Change function name to match what it does
2010-12-10 12:16:16 +01:00
Pieter Noordhuis
cb33445bcd
Typo
2010-12-10 12:06:24 +01:00
Pieter Noordhuis
586500c0ef
Typo
2010-12-10 12:06:24 +01:00
Pieter Noordhuis
09586f8b7a
Add generic function to grow an sds value
...
Move logic concerned with setting a bit in an sds to the SETBIT command
instead of keeping it in sds.c. The function to grow an sds can and will
be reused for a command to set a range within a string value.
2010-12-10 11:58:21 +01:00
Pieter Noordhuis
eae33c1c81
Add generic function to grow an sds value
...
Move logic concerned with setting a bit in an sds to the SETBIT command
instead of keeping it in sds.c. The function to grow an sds can and will
be reused for a command to set a range within a string value.
2010-12-10 11:58:21 +01:00
antirez
3cb849b6be
SINTER/MEMBERS are now COW friendly, also some refactoring around was needed to get this result.
2010-12-09 23:01:09 +01:00
antirez
1b508da7ca
SINTER/MEMBERS are now COW friendly, also some refactoring around was needed to get this result.
2010-12-09 23:01:09 +01:00
Jonah H. Harris
d8277d350c
removed dup syslog-ident conditional
2010-12-09 11:26:33 -05:00
Jonah H. Harris
8b5db0a8dc
removed dup syslog-ident conditional
2010-12-09 11:26:33 -05:00
Pieter Noordhuis
73dbf7c942
Enforce maximum string value length of 512MB
2010-12-09 17:16:10 +01:00
Pieter Noordhuis
076f88d657
Enforce maximum string value length of 512MB
2010-12-09 17:16:10 +01:00
Jonah H. Harris
6455bf5254
syslog support
2010-12-09 11:10:21 -05:00
Jonah H. Harris
e1a586ee69
syslog support
2010-12-09 11:10:21 -05:00
Pieter Noordhuis
c139b6812d
Add commands SETBIT/GETBIT
2010-12-09 16:39:33 +01:00
Pieter Noordhuis
3c1bf4957e
Add commands SETBIT/GETBIT
2010-12-09 16:39:33 +01:00
antirez
ca59ad7e86
COW friendly versions of SPOP and SRANDMEMBER commands, with some change to the set encoding-agnostic API.
2010-12-09 10:21:02 +01:00
antirez
a5be65f71c
COW friendly versions of SPOP and SRANDMEMBER commands, with some change to the set encoding-agnostic API.
2010-12-09 10:21:02 +01:00
antirez
fda6e59e9a
LRANGE converted into a COW friendly command. Some refactoring, comment, and new addReply*() family function added in the process.
2010-12-07 16:33:13 +01:00
antirez
d51ebef509
LRANGE converted into a COW friendly command. Some refactoring, comment, and new addReply*() family function added in the process.
2010-12-07 16:33:13 +01:00
Pieter Noordhuis
02fb4e921d
Don't execute commands for clients when they are unblocked
2010-12-06 16:39:39 +01:00