antirez/redis — Issue #224: a bug in SORT comand output
Author: xrfang
Created: 2011-12-01 09:27:40+00:00
State: open

with the SORT param, the SORT command *usually* output an integer, indicating the number of items in the stored set, but when output is null, for example, the key to be sorted does not exist (or is empty), the output of SORT with STORE is empty set, not a number anymore! I think it shall be consistent, i.e. without STORE, bulk output (or empty), with STORE, integer output (including 0).