mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Merge branch 'unstable' of github.com:/antirez/redis into unstable
This commit is contained in:
commit
479ea57797
@ -283,11 +283,6 @@ void computeDatasetDigest(unsigned char *final) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void debugCommand(client *c) {
|
void debugCommand(client *c) {
|
||||||
if (c->argc == 1) {
|
|
||||||
addReplyError(c,"You must specify a subcommand for DEBUG. Try DEBUG HELP for info.");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!strcasecmp(c->argv[1]->ptr,"help")) {
|
if (!strcasecmp(c->argv[1]->ptr,"help")) {
|
||||||
void *blenp = addDeferredMultiBulkLength(c);
|
void *blenp = addDeferredMultiBulkLength(c);
|
||||||
int blen = 0;
|
int blen = 0;
|
||||||
|
@ -258,7 +258,7 @@ struct redisCommand redisCommandTable[] = {
|
|||||||
{"persist",persistCommand,2,"wF",0,NULL,1,1,1,0,0},
|
{"persist",persistCommand,2,"wF",0,NULL,1,1,1,0,0},
|
||||||
{"slaveof",slaveofCommand,3,"ast",0,NULL,0,0,0,0,0},
|
{"slaveof",slaveofCommand,3,"ast",0,NULL,0,0,0,0,0},
|
||||||
{"role",roleCommand,1,"lst",0,NULL,0,0,0,0,0},
|
{"role",roleCommand,1,"lst",0,NULL,0,0,0,0,0},
|
||||||
{"debug",debugCommand,-1,"as",0,NULL,0,0,0,0,0},
|
{"debug",debugCommand,-2,"as",0,NULL,0,0,0,0,0},
|
||||||
{"config",configCommand,-2,"lat",0,NULL,0,0,0,0,0},
|
{"config",configCommand,-2,"lat",0,NULL,0,0,0,0,0},
|
||||||
{"subscribe",subscribeCommand,-2,"pslt",0,NULL,0,0,0,0,0},
|
{"subscribe",subscribeCommand,-2,"pslt",0,NULL,0,0,0,0,0},
|
||||||
{"unsubscribe",unsubscribeCommand,-1,"pslt",0,NULL,0,0,0,0,0},
|
{"unsubscribe",unsubscribeCommand,-1,"pslt",0,NULL,0,0,0,0,0},
|
||||||
|
Loading…
Reference in New Issue
Block a user