antirez
|
9a914a632d
"SORT by nosort" (skip sorting) respect sorted set ordering.
|
12 rokov pred |
antirez
|
6a3f0ac68a
Added test for SORT corner case: pattern ending with just "->".
|
12 rokov pred |
antirez
|
44d77bb217
A few SORT tests made more resistant to false negatives resulitng from poor randomization of Redis hash function with one byte inputs.
|
12 rokov pred |
antirez
|
01f75bf352
New SORT tests checking the new more deterministic behavior of SORT sorting algorithm.
|
12 rokov pred |
antirez
|
de79a2ee12
Make SORT BY <constant> STORE ... to always produce the same output by force sorting, so that we have deterministic replication of this command.
|
12 rokov pred |
antirez
|
2c861050c1
SORT is now more deterministic: does not accept to compare by score items that have scores not representing a valid double. Also items with the same score are compared lexycographically. At the same time the scripting side introduced the ability to sort the output of SORT when sort uses the BY <constant> optimization, resulting in no specific ordering. Since in this case the user may use GET, and the result of GET can be null, converted into false as Lua data type, this commit also introduces the ability to sort Lua tables containining false, only if the first (faster) attempt at using just table.sort with a single argument fails.
|
12 rokov pred |
Michal Kwiatkowski
|
a0bf8d0ad8
SORT with STORE removes key if result is empty. This fixes issue #227.
|
13 rokov pred |
BigCat
|
f54c299091
I found that no test will fail even if I broke the `SORT x LIMIT y z` code.
|
13 rokov pred |
antirez
|
237194b760
Fixed SORT bugs (issue #224) with regression tests.
|
13 rokov pred |
Pieter Noordhuis
|
6f8a32d5c7
Be less verbose in testing; improve error handling
|
14 rokov pred |
Pieter Noordhuis
|
dc11daf3b5
Change tests to use either the inline or the multibulk protocol
|
14 rokov pred |
antirez
|
452ccf7a41
SORT stress testing against bigger aggregate values
|
14 rokov pred |
Pieter Noordhuis
|
029e5577ff
Make SORT use the hybrid set accessors to allow sorting intsets
|
14 rokov pred |
Pieter Noordhuis
|
2b9a59471f
SORT tests with hash table encoded set as input
|
14 rokov pred |
Pieter Noordhuis
|
ced6709cb9
Make SORT tests use both ziplists and linked lists as input
|
14 rokov pred |
Pieter Noordhuis
|
5d4f3a8c85
Move SORT tests around
|
14 rokov pred |
Pieter Noordhuis
|
7a6ae0a2b2
scope res variable outside test
|
14 rokov pred |
Pieter Noordhuis
|
7f7499eeac
tags for existing tests
|
14 rokov pred |
Pieter Noordhuis
|
9e5d2e8bd6
changed how server.tcl accepts options to support more directives without requiring more arguments to the proc
|
14 rokov pred |
antirez
|
ab72b4833d
minor fixes to the new test suite, html doc updated
|
14 rokov pred |