redis/src
Binbin a418a2d3fc
hrandfield and zrandmember with count should return emptyarray when key does not exist. (#9178)
due to a copy-paste bug, it used to reply with null response rather than empty array.
this commit includes new tests that are looking at the RESP response directly in
order to be able to tell the difference between them.

Co-authored-by: Oran Agra <oran@redislabs.com>
2021-07-05 10:41:57 +03:00
..
modules modules: Add newlen == 0 handling to RM_StringTruncate (#3717) (#3718) 2021-06-22 12:26:48 +03:00
.gitignore
Makefile modules: Add newlen == 0 handling to RM_StringTruncate (#3717) (#3718) 2021-06-22 12:26:48 +03:00
acl.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
adlist.c Free value if dup succeed but listAddNodeTail failed. (#8901) 2021-05-03 13:39:07 +03:00
adlist.h
ae.c Improve doc comment about AE_DONT_WAIT (#9165) 2021-06-29 14:37:02 +03:00
ae.h
ae_epoll.c Fail fast when systemic error occurs in poll (#8749) 2021-04-26 15:52:06 +03:00
ae_evport.c Typo: Change port_get to port_getn in aeApiPoll panic message. (#8920) 2021-05-07 15:34:35 +03:00
ae_kqueue.c Fail fast when systemic error occurs in poll (#8749) 2021-04-26 15:52:06 +03:00
ae_select.c Fail fast when systemic error occurs in poll (#8749) 2021-04-26 15:52:06 +03:00
anet.c Use accept4 on linux instead of fcntl to make a client socket non-blocking (#9177) 2021-07-05 10:34:20 +03:00
anet.h Cleanup: remove dead code from anet. (#8660) 2021-03-17 12:52:24 +02:00
aof.c Enhance mem_usage/free_effort/unlink/copy callbacks and add GetDbFromIO api. (#8999) 2021-06-16 09:45:49 +03:00
asciilogo.h Changes http to https in texts (#8495) 2021-03-10 19:11:16 +02:00
atomicvar.h Several (mostly Solaris-related) cleanups (#8171) 2020-12-13 17:09:54 +02:00
bio.c Fix wrong check for aof fsync and handle aof fsync errno (#8751) 2021-04-11 08:14:31 +03:00
bio.h Delete some unimplemented prototype. (#8882) 2021-04-29 08:25:10 +03:00
bitops.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
blocked.c Update the location information in some URLs (#8595) 2021-04-06 12:29:02 +03:00
childinfo.c Fix wrong COW memory in log (#8917) 2021-05-06 10:52:11 +03:00
cli_common.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
cli_common.h Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
cluster.c Use accept4 on linux instead of fcntl to make a client socket non-blocking (#9177) 2021-07-05 10:34:20 +03:00
cluster.h Cleaning up the cluster interface by moving almost all related declar… (#9080) 2021-06-15 20:35:13 -07:00
config.c Add bind-source-addr configuration argument. (#9142) 2021-06-24 19:48:18 +03:00
config.h Use accept4 on linux instead of fcntl to make a client socket non-blocking (#9177) 2021-07-05 10:34:20 +03:00
connection.c fix: call CLIENT INFO from redis module will crash the server (#8560) 2021-03-01 08:18:14 +02:00
connection.h
connhelpers.h Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
crc16.c
crc16_slottable.h
crc64.c Add run all test support with define REDIS_TEST (#8570) 2021-03-10 09:13:11 +02:00
crc64.h Add run all test support with define REDIS_TEST (#8570) 2021-03-10 09:13:11 +02:00
crcspeed.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
crcspeed.h
db.c Enhance mem_usage/free_effort/unlink/copy callbacks and add GetDbFromIO api. (#8999) 2021-06-16 09:45:49 +03:00
debug.c Improve the debug help command message (#9098) 2021-06-20 09:46:27 +03:00
debugmacro.h Fix some redundancy use of semicolon in do-while macros (#8221) 2020-12-21 22:57:45 -08:00
defrag.c Enhance mem_usage/free_effort/unlink/copy callbacks and add GetDbFromIO api. (#8999) 2021-06-16 09:45:49 +03:00
dict.c Use function instead of code in dict.c and delete dead code in dict.h (#8878) 2021-05-09 15:21:18 +03:00
dict.h Use function instead of code in dict.c and delete dead code in dict.h (#8878) 2021-05-09 15:21:18 +03:00
endianconv.c Add run all test support with define REDIS_TEST (#8570) 2021-03-10 09:13:11 +02:00
endianconv.h Add run all test support with define REDIS_TEST (#8570) 2021-03-10 09:13:11 +02:00
evict.c Remove duplicate dbid lookup in performEvictions. (#9063) 2021-06-13 09:31:19 +03:00
expire.c Fix flaky test case for absolute TTL replication (#9069) 2021-06-13 08:42:20 +03:00
fmacros.h Fix failed tests on Linux Alpine and add a CI job. (#8532) 2021-02-23 12:57:45 +02:00
geo.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
geo.h
geohash.c
geohash.h Delete some unimplemented prototype. (#8882) 2021-04-29 08:25:10 +03:00
geohash_helper.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
geohash_helper.h Delete some unimplemented prototype. (#8882) 2021-04-29 08:25:10 +03:00
help.h Remove useless - from help.h on commands with no arguments (#8939) 2021-05-18 17:13:10 +03:00
hyperloglog.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
intset.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
intset.h Add run all test support with define REDIS_TEST (#8570) 2021-03-10 09:13:11 +02:00
latency.c Cleanup: sentinel config, latency extra time() (#8810) 2021-05-09 18:45:45 +03:00
latency.h
lazyfree.c Enhance mem_usage/free_effort/unlink/copy callbacks and add GetDbFromIO api. (#8999) 2021-06-16 09:45:49 +03:00
listpack.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
listpack.h Optimize listpack for stream usage to avoid repeated reallocs (#6281) 2021-02-16 16:17:38 +02:00
listpack_malloc.h Optimize listpack for stream usage to avoid repeated reallocs (#6281) 2021-02-16 16:17:38 +02:00
localtime.c
lolwut.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
lolwut.h
lolwut5.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
lolwut6.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
lzf.h
lzfP.h
lzf_c.c
lzf_d.c Sanitize dump payload: fuzz tester and fixes for segfaults and leaks it exposed 2020-12-06 14:54:34 +02:00
memtest.c Resolve nonsense static analysis warnings 2021-05-03 18:59:47 +03:00
mkreleasehdr.sh
module.c Fix CLIENT UNBLOCK crashing modules. (#9167) 2021-07-01 17:11:27 +03:00
monotonic.c
monotonic.h
mt19937-64.c Fix random element selection for large hash tables. (#8133) 2020-12-23 15:52:07 +02:00
mt19937-64.h Fix random element selection for large hash tables. (#8133) 2020-12-23 15:52:07 +02:00
multi.c Check `CLIENT_DIRTY_CAS` flag before process transaction. (#9086) 2021-06-15 14:36:04 +03:00
networking.c Use accept4 on linux instead of fcntl to make a client socket non-blocking (#9177) 2021-07-05 10:34:20 +03:00
notify.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
object.c Include sizeof(struct stream) in objectComputeSize (#9164) 2021-06-29 14:34:18 +03:00
pqsort.c
pqsort.h
pubsub.c Cleaning up the cluster interface by moving almost all related declar… (#9080) 2021-06-15 20:35:13 -07:00
quicklist.c Fix typos, and consistent function argument names in quicklist (#8915) 2021-05-10 14:02:25 +03:00
quicklist.h Fix typos, and consistent function argument names in quicklist (#8915) 2021-05-10 14:02:25 +03:00
rand.c
rand.h
rax.c Simplify logic in raxSeek, eliminate it->key reassembly on gt and lt (#9115) 2021-06-30 08:21:19 +03:00
rax.h
rax_malloc.h
rdb.c Enhance mem_usage/free_effort/unlink/copy callbacks and add GetDbFromIO api. (#8999) 2021-06-16 09:45:49 +03:00
rdb.h Enhance mem_usage/free_effort/unlink/copy callbacks and add GetDbFromIO api. (#8999) 2021-06-16 09:45:49 +03:00
redis-benchmark.c Clean redis-benchmark Throughput output. (#9139) 2021-06-24 18:04:19 +03:00
redis-check-aof.c Print the number of abnormal line in AOF (#8823) 2021-04-20 21:51:24 +03:00
redis-check-rdb.c Enhance mem_usage/free_effort/unlink/copy callbacks and add GetDbFromIO api. (#8999) 2021-06-16 09:45:49 +03:00
redis-cli.c redis-cli --rdb: fix broken fsync/ftruncate for stdout (#9135) 2021-06-30 16:49:54 +03:00
redis-trib.rb
redisassert.c Fail fast when systemic error occurs in poll (#8749) 2021-04-26 15:52:06 +03:00
redisassert.h Sanitize dump payload: performance optimizations and tuning 2020-12-06 14:54:34 +02:00
redismodule.h Enhance mem_usage/free_effort/unlink/copy callbacks and add GetDbFromIO api. (#8999) 2021-06-16 09:45:49 +03:00
release.c
replication.c Remove unnecessary replication backlog memory copy (#9157) 2021-06-28 09:43:40 +03:00
rio.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
rio.h
scripting.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
sds.c Query buffer shrinking improvements (#5013) 2021-07-05 09:30:16 +03:00
sds.h Query buffer shrinking improvements (#5013) 2021-07-05 09:30:16 +03:00
sdsalloc.h Sanitize dump payload: fail RESTORE if memory allocation fails 2020-12-06 14:54:34 +02:00
sentinel.c Add bind-source-addr configuration argument. (#9142) 2021-06-24 19:48:18 +03:00
server.c Query buffer shrinking improvements (#5013) 2021-07-05 09:30:16 +03:00
server.h Update incrDecrCommand to use addReplyLongLong (#9188) 2021-07-03 10:51:53 -05:00
setcpuaffinity.c
setproctitle.c Fix failed tests on Linux Alpine and add a CI job. (#8532) 2021-02-23 12:57:45 +02:00
sha1.c Add run all test support with define REDIS_TEST (#8570) 2021-03-10 09:13:11 +02:00
sha1.h Add run all test support with define REDIS_TEST (#8570) 2021-03-10 09:13:11 +02:00
sha256.c
sha256.h
siphash.c
slowlog.c slowlog get command supports passing in -1 to get all logs. (#9018) 2021-06-14 16:46:45 +03:00
slowlog.h
solarisfixes.h
sort.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
sparkline.c
sparkline.h
stream.h Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
syncio.c
t_hash.c hrandfield and zrandmember with count should return emptyarray when key does not exist. (#9178) 2021-07-05 10:41:57 +03:00
t_list.c Fixes some typos (#8874) 2021-04-27 14:25:02 +03:00
t_set.c Enhance mem_usage/free_effort/unlink/copy callbacks and add GetDbFromIO api. (#8999) 2021-06-16 09:45:49 +03:00
t_stream.c Fix range issues in default value of LIMIT argument to XADD and XTRIM (#9147) 2021-06-30 16:55:09 +03:00
t_string.c Update incrDecrCommand to use addReplyLongLong (#9188) 2021-07-03 10:51:53 -05:00
t_zset.c hrandfield and zrandmember with count should return emptyarray when key does not exist. (#9178) 2021-07-05 10:41:57 +03:00
testhelp.h Fix some redundancy use of semicolon in do-while macros (#8221) 2020-12-21 22:57:45 -08:00
timeout.c
tls.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
tracking.c Fix race in client side tracking (#9116) 2021-06-22 07:35:59 +03:00
util.c Add run all test support with define REDIS_TEST (#8570) 2021-03-10 09:13:11 +02:00
util.h Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
valgrind.sup Sanitize dump payload: fuzz tester and fixes for segfaults and leaks it exposed 2020-12-06 14:54:34 +02:00
version.h
ziplist.c Fix ziplist length updates on bigendian platforms (#2080) 2021-06-30 16:46:06 +03:00
ziplist.h Add run all test support with define REDIS_TEST (#8570) 2021-03-10 09:13:11 +02:00
zipmap.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
zipmap.h Add run all test support with define REDIS_TEST (#8570) 2021-03-10 09:13:11 +02:00
zmalloc.c Fix slowdown due to child reporting CoW. (#8645) 2021-03-22 13:25:58 +02:00
zmalloc.h Add run all test support with define REDIS_TEST (#8570) 2021-03-10 09:13:11 +02:00