microsoftarchive / redis

Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes
http://redis.io
Other
20.81k stars 5.37k forks source link

config get always return 'jd xxx' #499

Open wangkui503 opened 8 years ago

wangkui503 commented 8 years ago

config get always return 'jd xxx' because the %jd in printf format is not ported to %lld in config.c:1250. This is the only place leftover.

`127.0.0.1:31415> config set save '10 1 99 2'

OK 127.0.0.1:31415> config get save

1) "save"

2) "jd 10 jd 99"

127.0.0.1:31415>`

redis-cli 2.8.2101