Kouhei Sutou
null+****@clear*****
Wed Nov 7 14:48:40 JST 2012
Kouhei Sutou 2012-11-07 14:48:40 +0900 (Wed, 07 Nov 2012) New Revision: 318e6cf7521b428b8f7b03b527873072525eedf3 https://github.com/groonga/groonga/commit/318e6cf7521b428b8f7b03b527873072525eedf3 Log: Fix wrong offset Modified files: lib/output.c Modified: lib/output.c (+1 -1) =================================================================== --- lib/output.c 2012-11-07 14:47:44 +0900 (068fa47) +++ lib/output.c 2012-11-07 14:48:40 +0900 (0a9893d) @@ -1158,7 +1158,7 @@ grn_output_table_records_by_expression(grn_ctx *ctx, grn_obj *outbuf, have_comma = GRN_TRUE; if (is_first_comma) { expr->codes_curr = code_end_offset - 1; - while (expr->codes_curr > previous_comma_offset) { + while (expr->codes_curr > 0) { int n_args; grn_expr_code *first_code = expr->codes + expr->codes_curr; n_args = count_n_argments_in_expr_code(ctx, first_code); -------------- next part -------------- HTML����������������������������...Download