summaryrefslogtreecommitdiff
path: root/tests/instances.tcl
diff options
context:
space:
mode:
authorguybe7 <guy.benoish@redislabs.com>2021-04-01 08:33:53 +0200
committerGitHub <noreply@github.com>2021-04-01 09:33:53 +0300
commit843f769b96ba3bf6cd40293304a1c7d1d405a2cb (patch)
tree25af64088470a3d2b9fbcf5c4cda0f834117ad1a /tests/instances.tcl
parentd5935bb0a46ba397781affda794e10a307db649b (diff)
downloadredis-843f769b96ba3bf6cd40293304a1c7d1d405a2cb.tar.gz
zsetAdd: Fix wrong reply in case of INCR and GT/LT (#8717)
If GT/LT fails the operation we need to reply with nill (like failure due to NX). Other changes: Add the missing $encoding suffix to many zset tests Note: there's a behavior change just in case of INCR + GT/LT that fails. The old code was replying with the wrong (rejected) score, and now it'll reply with nil. Note that that's anyway a corner case so this "behavior change" shouldn't have too much affect. Using GT/LT with INCR has a predictable result even before we run the command (INCR GT will only only / always fail if the increment is negative).
Diffstat (limited to 'tests/instances.tcl')
0 files changed, 0 insertions, 0 deletions