Kouhei Sutou
null+****@clear*****
Wed May 18 00:30:41 JST 2016
Kouhei Sutou 2016-05-18 00:30:41 +0900 (Wed, 18 May 2016) New Revision: a3d860827f313571a86549a86177305a2d71929c https://github.com/groonga/groonga/commit/a3d860827f313571a86549a86177305a2d71929c Message: Use meaningful name Modified files: lib/window_functions.c Modified: lib/window_functions.c (+3 -3) =================================================================== --- lib/window_functions.c 2016-05-18 00:30:06 +0900 (40ed42b) +++ lib/window_functions.c 2016-05-18 00:30:41 +0900 (dcf7e1c) @@ -27,14 +27,14 @@ window_function_record_number(grn_ctx *ctx, int n_args) { grn_id id; - uint32_t i = 1; + uint32_t nth_record = 1; grn_obj value; GRN_UINT32_INIT(&value, 0); while ((id = grn_window_next(ctx, window))) { - GRN_UINT32_SET(ctx, &value, i); + GRN_UINT32_SET(ctx, &value, nth_record); grn_obj_set_value(ctx, output_column, id, &value, GRN_OBJ_SET); - i++; + nth_record++; } GRN_OBJ_FIN(ctx, &value); -------------- next part -------------- HTML����������������������������... 下載