Kouhei Sutou
null+****@clear*****
Tue Dec 18 15:18:28 JST 2012
Kouhei Sutou 2012-12-18 15:18:28 +0900 (Tue, 18 Dec 2012) New Revision: 21f94d573163c8c65bfae1983ed200c3cb740d6c https://github.com/groonga/groonga/commit/21f94d573163c8c65bfae1983ed200c3cb740d6c Log: Fix a bug that --default-match-escalation-threshold doesn't accept negative default-match-escalation-threshold should accept -1 to disable search escalation. This bug exists since 2.0.3. Modified files: src/groonga.c Modified: src/groonga.c (+1 -1) =================================================================== --- src/groonga.c 2012-12-17 14:42:27 +0900 (c15464d) +++ src/groonga.c 2012-12-18 15:18:28 +0900 (a9dd9ef) @@ -2376,7 +2376,7 @@ main(int argc, char **argv) + strlen(default_match_escalation_threshold_arg); const char *rest = NULL; const int64_t value = grn_atoll(default_match_escalation_threshold_arg, end, &rest); - if (end != rest || value < 0) { + if (end != rest) { fprintf(stderr, "invalid match escalation threshold: <%s>\n", default_match_escalation_threshold_arg); return EXIT_FAILURE; -------------- next part -------------- HTML����������������������������... Download