Kouhei Sutou
null+****@clear*****
Thu Feb 25 22:19:48 JST 2016
Kouhei Sutou 2016-02-25 22:19:48 +0900 (Thu, 25 Feb 2016) New Revision: 102696643840f070fb8a983cfe7e838cd8dcaaa0 https://github.com/groonga/groonga/commit/102696643840f070fb8a983cfe7e838cd8dcaaa0 Message: Fix a bug that new grn_scan_info parameters aren't initialized GitHub: fix #491 Reported by Naoya Murakami. Thanks!!! Modified files: lib/expr.c Modified: lib/expr.c (+2 -0) =================================================================== --- lib/expr.c 2016-02-25 14:13:41 +0900 (b97de51) +++ lib/expr.c 2016-02-25 22:19:48 +0900 (71dad5d) @@ -3723,6 +3723,8 @@ struct _grn_scan_info { GRN_PTR_INIT(&(si)->scorers, GRN_OBJ_VECTOR, GRN_ID_NIL);\ GRN_PTR_INIT(&(si)->scorer_args_exprs, GRN_OBJ_VECTOR, GRN_ID_NIL);\ GRN_UINT32_INIT(&(si)->scorer_args_expr_offsets, GRN_OBJ_VECTOR);\ + (si)->position.specified = GRN_FALSE;\ + (si)->position.start = 0;\ } while (0) static scan_info ** -------------- next part -------------- HTML����������������������������...Download