]> git.saurik.com Git - redis.git/commitdiff
version set to 2.3.0
authorantirez <antirez@gmail.com>
Wed, 29 Dec 2010 16:02:43 +0000 (17:02 +0100)
committerantirez <antirez@gmail.com>
Wed, 29 Dec 2010 16:02:43 +0000 (17:02 +0100)
src/diskstore.c
src/version.h

index 3904310d3c5c4a070ff0e8a1762014c043826c10..abaecb6b1b6bdd7acc9f6f710779d7d2250d4907 100644 (file)
@@ -97,7 +97,7 @@ int dsOpen(void) {
     /* New disk store, create the directory structure now, as creating
      * them in a lazy way is not a good idea, after very few insertions
      * 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",
             path, strerror(errno));
         return REDIS_ERR;
index ff8473e78666b17e3e85b8b47e246b58c58517a7..3913b007a9f46a2e1d1173183475e350496db056 100644 (file)
@@ -1 +1 @@
-#define REDIS_VERSION "2.1.8"
+#define REDIS_VERSION "2.3.0"