Kouhei Sutou
null+****@clear*****
Wed May 14 18:24:57 JST 2014
Kouhei Sutou 2014-04-12 00:07:05 +0900 (Sat, 12 Apr 2014) New Revision: a3c56a7429e956b0f7f37a83953e02f5d7586c42 https://github.com/groonga/groonga/commit/a3c56a7429e956b0f7f37a83953e02f5d7586c42 Merged 259823e: Merge pull request #161 from groonga/fix-wrong-ii-max-segment Message: ii: fix wrong max segment Redmine: fixes #2438 Reported by yoku0825. Thanks!!! Modified files: lib/ii.c Modified: lib/ii.c (+1 -1) =================================================================== --- lib/ii.c 2014-04-08 23:07:42 +0900 (469dbce) +++ lib/ii.c 2014-04-12 00:07:05 +0900 (9a94f17) @@ -3463,7 +3463,7 @@ _grn_ii_create(grn_ctx *ctx, grn_ii *ii, const char *path, grn_obj *lexicon, uin } if (path && strlen(path) + 6 >= PATH_MAX) { return NULL; } seg = grn_io_create(ctx, path, sizeof(struct grn_ii_header), - S_SEGMENT, GRN_II_MAX_LSEG, grn_io_auto, GRN_IO_EXPIRE_SEGMENT); + S_SEGMENT, MAX_PSEG, grn_io_auto, GRN_IO_EXPIRE_SEGMENT); if (!seg) { return NULL; } if (path) { strcpy(path2, path); -------------- next part -------------- HTML����������������������������...下載