提交 d0212210 编写于 作者: A antirez

version set to 2.3.0

上级 5ef64098
...@@ -97,7 +97,7 @@ int dsOpen(void) { ...@@ -97,7 +97,7 @@ int dsOpen(void) {
/* New disk store, create the directory structure now, as creating /* New disk store, create the directory structure now, as creating
* them in a lazy way is not a good idea, after very few insertions * them in a lazy way is not a good idea, after very few insertions
* we'll need most of the 65536 directories anyway. */ * we'll need most of the 65536 directories anyway. */
if (mkdir(path) == -1) { if (mkdir(path,0644) == -1) {
redisLog(REDIS_WARNING,"Disk store init failed creating dir %s: %s", redisLog(REDIS_WARNING,"Disk store init failed creating dir %s: %s",
path, strerror(errno)); path, strerror(errno));
return REDIS_ERR; return REDIS_ERR;
......
#define REDIS_VERSION "2.1.8" #define REDIS_VERSION "2.3.0"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册