antirez
|
9a914a632d
"SORT by nosort" (skip sorting) respect sorted set ordering.
|
%!s(int64=12) %!d(string=hai) anos |
antirez
|
6a3f0ac68a
Added test for SORT corner case: pattern ending with just "->".
|
%!s(int64=12) %!d(string=hai) anos |
antirez
|
44d77bb217
A few SORT tests made more resistant to false negatives resulitng from poor randomization of Redis hash function with one byte inputs.
|
%!s(int64=12) %!d(string=hai) anos |
antirez
|
01f75bf352
New SORT tests checking the new more deterministic behavior of SORT sorting algorithm.
|
%!s(int64=12) %!d(string=hai) anos |
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.
|
%!s(int64=12) %!d(string=hai) anos |
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.
|
%!s(int64=12) %!d(string=hai) anos |
Michal Kwiatkowski
|
a0bf8d0ad8
SORT with STORE removes key if result is empty. This fixes issue #227.
|
%!s(int64=13) %!d(string=hai) anos |
BigCat
|
f54c299091
I found that no test will fail even if I broke the `SORT x LIMIT y z` code.
|
%!s(int64=13) %!d(string=hai) anos |
antirez
|
237194b760
Fixed SORT bugs (issue #224) with regression tests.
|
%!s(int64=13) %!d(string=hai) anos |
Pieter Noordhuis
|
6f8a32d5c7
Be less verbose in testing; improve error handling
|
%!s(int64=14) %!d(string=hai) anos |
Pieter Noordhuis
|
dc11daf3b5
Change tests to use either the inline or the multibulk protocol
|
%!s(int64=14) %!d(string=hai) anos |
antirez
|
452ccf7a41
SORT stress testing against bigger aggregate values
|
%!s(int64=14) %!d(string=hai) anos |
Pieter Noordhuis
|
029e5577ff
Make SORT use the hybrid set accessors to allow sorting intsets
|
%!s(int64=14) %!d(string=hai) anos |
Pieter Noordhuis
|
2b9a59471f
SORT tests with hash table encoded set as input
|
%!s(int64=14) %!d(string=hai) anos |
Pieter Noordhuis
|
ced6709cb9
Make SORT tests use both ziplists and linked lists as input
|
%!s(int64=14) %!d(string=hai) anos |
Pieter Noordhuis
|
5d4f3a8c85
Move SORT tests around
|
%!s(int64=14) %!d(string=hai) anos |
Pieter Noordhuis
|
7a6ae0a2b2
scope res variable outside test
|
%!s(int64=14) %!d(string=hai) anos |
Pieter Noordhuis
|
7f7499eeac
tags for existing tests
|
%!s(int64=14) %!d(string=hai) anos |
Pieter Noordhuis
|
9e5d2e8bd6
changed how server.tcl accepts options to support more directives without requiring more arguments to the proc
|
%!s(int64=14) %!d(string=hai) anos |
antirez
|
ab72b4833d
minor fixes to the new test suite, html doc updated
|
%!s(int64=14) %!d(string=hai) anos |