Kouhei Sutou
null+****@clear*****
Wed Dec 20 10:50:00 JST 2017
Kouhei Sutou 2017-12-20 10:50:00 +0900 (Wed, 20 Dec 2017) New Revision: ffda7576f77b03e6fd882eafe9e15dc7e31b0d72 https://github.com/groonga/groonga/commit/ffda7576f77b03e6fd882eafe9e15dc7e31b0d72 Message: Enable GRN_II_OVERLAP_TOKEN_SKIP_ENABLE only when its value is "yes" Modified files: lib/ii.c Modified: lib/ii.c (+1 -1) =================================================================== --- lib/ii.c 2017-12-18 17:56:27 +0900 (5749218e3) +++ lib/ii.c 2017-12-20 10:50:00 +0900 (b6b8e5575) @@ -144,7 +144,7 @@ grn_ii_init_from_env(void) grn_getenv("GRN_II_OVERLAP_TOKEN_SKIP_ENABLE", grn_ii_overlap_token_skip_enable_env, GRN_ENV_BUFFER_SIZE); - if (grn_ii_overlap_token_skip_enable_env[0]) { + if (strcmp(grn_ii_overlap_token_skip_enable_env, "yes") == 0) { grn_ii_overlap_token_skip_enable = GRN_TRUE; } else { grn_ii_overlap_token_skip_enable = GRN_FALSE; -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171220/ad7c4a3f/attachment.htm