mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 08:08:53 -05:00
Fix case in RPOPLPUSH.
This commit is contained in:
parent
d8d528e992
commit
8a979f0390
@ -96,7 +96,7 @@ struct redisCommand readonlyCommandTable[] = {
|
||||
{"lrange",lrangeCommand,4,0,NULL,1,1,1},
|
||||
{"ltrim",ltrimCommand,4,0,NULL,1,1,1},
|
||||
{"lrem",lremCommand,4,0,NULL,1,1,1},
|
||||
{"rpoplpush",rpoplpushcommand,3,REDIS_CMD_DENYOOM,NULL,1,2,1},
|
||||
{"rpoplpush",rpoplpushCommand,3,REDIS_CMD_DENYOOM,NULL,1,2,1},
|
||||
{"sadd",saddCommand,3,REDIS_CMD_DENYOOM,NULL,1,1,1},
|
||||
{"srem",sremCommand,3,0,NULL,1,1,1},
|
||||
{"smove",smoveCommand,4,0,NULL,1,2,1},
|
||||
|
@ -932,7 +932,7 @@ void flushdbCommand(redisClient *c);
|
||||
void flushallCommand(redisClient *c);
|
||||
void sortCommand(redisClient *c);
|
||||
void lremCommand(redisClient *c);
|
||||
void rpoplpushcommand(redisClient *c);
|
||||
void rpoplpushCommand(redisClient *c);
|
||||
void infoCommand(redisClient *c);
|
||||
void mgetCommand(redisClient *c);
|
||||
void monitorCommand(redisClient *c);
|
||||
|
@ -618,7 +618,7 @@ void lremCommand(redisClient *c) {
|
||||
* since the element is not just returned but pushed against another list
|
||||
* as well. This command was originally proposed by Ezra Zygmuntowicz.
|
||||
*/
|
||||
void rpoplpushcommand(redisClient *c) {
|
||||
void rpoplpushCommand(redisClient *c) {
|
||||
robj *sobj, *value;
|
||||
if ((sobj = lookupKeyWriteOrReply(c,c->argv[1],shared.nullbulk)) == NULL ||
|
||||
checkType(c,sobj,REDIS_LIST)) return;
|
||||
|
Loading…
Reference in New Issue
Block a user