[Groonga-commit] groonga/groonga [master] Apply default settings, actually not used.

Back to archive index

null+****@clear***** null+****@clear*****
2012年 3月 13日 (火) 19:44:44 JST


Susumu Yata	2012-03-13 19:44:44 +0900 (Tue, 13 Mar 2012)

  New Revision: f7e0d096a63814b20a26fe54f8778114e80db781

  Log:
    Apply default settings, actually not used.

  Modified files:
    src/groonga.c

  Modified: src/groonga.c (+8 -0)
===================================================================
--- src/groonga.c    2012-03-13 19:43:41 +0900 (ffbf4e0)
+++ src/groonga.c    2012-03-13 19:44:44 +0900 (b8aa23b)
@@ -2536,6 +2536,8 @@ main(int argc, char **argv)
               default_command_version_arg);
       return EXIT_FAILURE;
     }
+  } else {
+    default_command_version = default_default_command_version;
   }
 
   if (default_match_escalation_threshold_arg) {
@@ -2549,6 +2551,8 @@ main(int argc, char **argv)
       return EXIT_FAILURE;
     }
     default_match_escalation_threshold = value;
+  } else {
+    default_match_escalation_threshold = default_default_match_escalation_threshold;
   }
 
   if (log_level_arg) {
@@ -2560,6 +2564,8 @@ main(int argc, char **argv)
       return EXIT_FAILURE;
     }
     log_level = value;
+  } else {
+    log_level = default_log_level;
   }
 
   if (cache_limit_arg) {
@@ -2571,6 +2577,8 @@ main(int argc, char **argv)
       return EXIT_FAILURE;
     }
     cache_limit = value;
+  } else {
+    cache_limit = default_cache_limit;
   }
 
 #ifdef HAVE_LIBEDIT




Groonga-commit メーリングリストの案内
Back to archive index