Kouhei Sutou
null+****@clear*****
Thu Apr 23 15:01:00 JST 2015
Kouhei Sutou 2015-04-23 15:01:00 +0900 (Thu, 23 Apr 2015) New Revision: d1aacef94ec655e718d3fe73a97fa8e5ffd1a857 https://github.com/groonga/groonga/commit/d1aacef94ec655e718d3fe73a97fa8e5ffd1a857 Message: Use constant Modified files: lib/expr.c Modified: lib/expr.c (+1 -1) =================================================================== --- lib/expr.c 2015-04-22 19:08:53 +0900 (08a8b0a) +++ lib/expr.c 2015-04-23 15:01:00 +0900 (f13502a) @@ -355,7 +355,7 @@ grn_expr_open(grn_ctx *ctx, grn_obj_spec *spec, const uint8_t *p, const uint8_t { grn_expr *expr = NULL; if ((expr = GRN_MALLOCN(grn_expr, 1))) { - int size = 256; + int size = GRN_STACK_SIZE; expr->consts = NULL; expr->nconsts = 0; GRN_TEXT_INIT(&expr->name_buf, 0); -------------- next part -------------- HTML����������������������������...Download