Pieter Noordhuis
46271240b3
Add fuzzy test for SETBIT
2010-12-15 11:20:54 +01:00
Pieter Noordhuis
77f5cf47e0
Make SETBIT return original bit value
2010-12-15 00:42:32 +01:00
Pieter Noordhuis
2bc467ba66
Add test cases for GETRANGE against integer-encoded strings
2010-12-14 15:35:35 +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
641289670c
Add SETRANGE command implementation and tests
2010-12-14 14:20:51 +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
73dbf7c942
Enforce maximum string value length of 512MB
2010-12-09 17:16:10 +01:00
Pieter Noordhuis
c139b6812d
Add commands SETBIT/GETBIT
2010-12-09 16:39:33 +01:00
Pieter Noordhuis
9ddc6fded8
Change tests to use either the inline or the multibulk protocol
2010-10-15 17:25:20 +02:00
antirez
2c572622fb
no longer passing tests due to the new write-on-volatile semantics modified/removed
2010-08-03 13:08:32 +02:00
antirez
80091bbaac
STRLEN command implemented
2010-07-27 10:09:26 +02:00
Pieter Noordhuis
7f7499eeac
tags for existing tests
2010-06-02 23:22:25 +02:00
Pieter Noordhuis
6e0e5bedd9
basic support to tag tests
2010-06-02 22:53:22 +02:00
Pieter Noordhuis
9e5d2e8bd6
changed how server.tcl accepts options to support more directives without requiring more arguments to the proc
2010-06-02 22:23:52 +02:00
antirez
ab72b4833d
minor fixes to the new test suite, html doc updated
2010-05-14 18:48:33 +02:00