mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
redis-cli now makes clear when the returned string is an integer
This commit is contained in:
parent
443c6409c3
commit
e2aba0f9ec
@ -238,6 +238,7 @@ static int cliReadReply(int fd) {
|
||||
cliReadSingleLineReply(fd);
|
||||
return 1;
|
||||
case '+':
|
||||
return cliReadSingleLineReply(fd);
|
||||
case ':':
|
||||
printf("(integer) ");
|
||||
return cliReadSingleLineReply(fd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user