mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
parent
c50693d40f
commit
3cd36a4dd9
@ -291,7 +291,9 @@ void sortCommand(redisClient *c) {
|
|||||||
* The other types (list, sorted set) will retain their native order
|
* The other types (list, sorted set) will retain their native order
|
||||||
* even if no sort order is requested, so they remain stable across
|
* even if no sort order is requested, so they remain stable across
|
||||||
* scripting and replication. */
|
* scripting and replication. */
|
||||||
if ((dontsort && sortval->type == REDIS_SET))
|
if (dontsort &&
|
||||||
|
sortval->type == REDIS_SET &&
|
||||||
|
(storekey || c->flags & REDIS_LUA_CLIENT))
|
||||||
{
|
{
|
||||||
/* Force ALPHA sorting */
|
/* Force ALPHA sorting */
|
||||||
dontsort = 0;
|
dontsort = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user