Kouhei Sutou
null+****@clear*****
Wed Jan 29 11:04:48 JST 2014
Kouhei Sutou 2014-01-29 11:04:48 +0900 (Wed, 29 Jan 2014) New Revision: 33efe2bd2fd6e87d2d4e209f08c4a03573e4f049 https://github.com/groonga/groonga/commit/33efe2bd2fd6e87d2d4e209f08c4a03573e4f049 Message: Fix a bug that an object in grn_expr is used after it is freed It is caused when you specify column name including pseudo column name such as _key by GRN_BULK. Groonga server users will not do the usage. Rroonga users may use the usage. For example: expression.parse("true", :default_column => "_id", # <- HERE :syntax => :script) Modified files: lib/expr.c Modified: lib/expr.c (+0 -1) =================================================================== --- lib/expr.c 2014-01-28 23:16:38 +0900 (19ecfa5) +++ lib/expr.c 2014-01-29 11:04:48 +0900 (ed809f0) @@ -1127,7 +1127,6 @@ grn_expr_append_obj(grn_ctx *ctx, grn_obj *expr, grn_obj *obj, grn_operator op, obj = col; type = col->header.type; domain = grn_obj_get_range(ctx, col); - grn_obj_unlink(ctx, col); } } else { domain = grn_obj_get_range(ctx, obj); -------------- next part -------------- HTML����������������������������...Download