add DEBUG JEMALLC PURGE and JEMALLOC INFO cleanup

This commit is contained in:
Oran Agra
2016-04-25 16:47:42 +03:00
parent 7ba90225a0
commit f8909a2579
2 changed files with 17 additions and 2 deletions

View File

@ -787,7 +787,7 @@ static int cliSendCommand(int argc, char **argv, int repeat) {
output_raw = 0;
if (!strcasecmp(command,"info") ||
(argc >= 2 && !strcasecmp(command,"debug") &&
(!strcasecmp(argv[1],"jemalloc") ||
((!strcasecmp(argv[1],"jemalloc") && !strcasecmp(argv[2],"info")) ||
!strcasecmp(argv[1],"htstats"))) ||
(argc == 2 && !strcasecmp(command,"cluster") &&
(!strcasecmp(argv[1],"nodes") ||