Kouhei Sutou
null+****@clear*****
Mon Jan 19 17:27:15 JST 2015
Kouhei Sutou 2015-01-19 17:27:15 +0900 (Mon, 19 Jan 2015) New Revision: 686c1a86a0e730e3d8414e0130a8b9f9a8d70682 https://github.com/groonga/groonga/commit/686c1a86a0e730e3d8414e0130a8b9f9a8d70682 Message: Use grn_table_group_add_subrec() to support calculation Modified files: lib/db.c Modified: lib/db.c (+4 -2) =================================================================== --- lib/db.c 2015-01-19 17:21:02 +0900 (f6e965a) +++ lib/db.c 2015-01-19 17:27:15 +0900 (a8698b7) @@ -3229,8 +3229,10 @@ grn_table_group_single_key_records(grn_ctx *ctx, grn_obj *table, if (grn_table_add_v_inline(ctx, res, content, content_length, &value, NULL)) { - grn_table_add_subrec_inline(res, value, ri ? ri->score : 0, - (grn_rset_posinfo *)&id, 0); + grn_table_group_add_subrec(ctx, res, value, + ri ? ri->score : 0, + (grn_rset_posinfo *)&id, 0, + calc_target); } } } -------------- next part -------------- HTML����������������������������...Descargar