redis/tests/unit/moduleapi
Viktor Söderqvist 17c3ac89e7 RM_ZsetRem: Delete key if empty (#8453)
Without this fix, RM_ZsetRem can leave empty sorted sets which are
not allowed to exist.

Removing from a sorted set while iterating seems to work (while
inserting causes failed assetions). RM_ZsetRangeEndReached is
modified to return 1 if the key doesn't exist, to terminate
iteration when the last element has been removed.

(cherry picked from commit aea6e71ef8)
2021-02-23 01:35:37 +02:00
..
auth.tcl Add module APIs for custom authentication 2019-12-17 06:59:59 +00:00
blockedclient.tcl Handle output buffer limits for Module blocked clients (#8141) 2021-01-12 16:25:37 +02:00
blockonkeys.tcl Try to fix time-sensitive tests in blockonkey.tcl 2020-04-07 16:52:28 +02:00
commandfilter.tcl Add runtest-moduleapi with commandfilter coverage. 2019-03-24 12:03:03 +02:00
datatype.tcl Improve RM_ModuleTypeReplaceValue() API. 2019-12-12 18:50:11 +02:00
fork.tcl fix race in module api test for fork 2020-02-27 18:02:30 +01:00
getkeys.tcl Modules: add RM_GetCommandKeys(). 2020-10-27 09:12:01 +02:00
hooks.tcl Add Swapdb Module Event (#7804) 2020-10-27 09:12:01 +02:00
infotest.tcl Add RM_ServerInfoGetFieldUnsigned 2019-11-04 08:50:29 +02:00
keyspace_events.tcl see #7544, added RedisModule_HoldString api. (#7577) 2020-09-01 09:27:58 +03:00
misc.tcl Add Module API for version and compatibility checks (#7865) 2020-10-27 09:12:01 +02:00
propagate.tcl Modules: Test MULTI/EXEC replication of RM_Replicate 2020-03-31 17:12:19 +02:00
scan.tcl Fix RM_ScanKey module api not to return int encoded strings 2020-07-20 21:08:26 +03:00
testrdb.tcl test infra - reduce disk space usage 2020-09-10 14:09:00 +03:00
zset.tcl RM_ZsetRem: Delete key if empty (#8453) 2021-02-23 01:35:37 +02:00