null+****@clear*****
null+****@clear*****
2010年 8月 27日 (金) 13:24:57 JST
Daijiro MORI 2010-08-27 04:24:57 +0000 (Fri, 27 Aug 2010) New Revision: 19f1f9ebb674abd5189ca425f21cd517b4794f0f Log: Fixed missing type check. Modified files: lib/db.c Modified: lib/db.c (+1 -1) =================================================================== --- lib/db.c 2010-08-27 01:49:50 +0000 (e1e3a5f) +++ lib/db.c 2010-08-27 04:24:57 +0000 (61ee1ad) @@ -6898,7 +6898,7 @@ grn_column_index(grn_ctx *ctx, grn_obj *obj, grn_operator op, grn_obj *target = grn_ctx_at(ctx, data->target); if (target->header.type != GRN_COLUMN_INDEX) { continue; } if (section) { *section = (MULTI_COLUMN_INDEXP(target)) ? data->section : 0; } - { + if (obj->header.type != GRN_COLUMN_FIX_SIZE) { grn_obj *tokenizer, *lexicon = grn_ctx_at(ctx, target->header.domain); if (!lexicon) { continue; } grn_table_get_info(ctx, lexicon, NULL, NULL, &tokenizer);