Kouhei Sutou
null+****@clear*****
Sun Jan 29 23:22:58 JST 2017
Kouhei Sutou 2017-01-29 23:22:58 +0900 (Sun, 29 Jan 2017) New Revision: 51bdc202b5053f40c06846a58ba6abf4dde741e0 https://github.com/groonga/groonga/commit/51bdc202b5053f40c06846a58ba6abf4dde741e0 Message: Fix wrong argument orger Modified files: lib/db.c lib/window_function.c Modified: lib/db.c (+1 -1) =================================================================== --- lib/db.c 2017-01-29 22:55:27 +0900 (c2fd713) +++ lib/db.c 2017-01-29 23:22:58 +0900 (a0a15bc) @@ -7385,7 +7385,7 @@ grn_obj_set_value_column_var_size_vector_uvector(grn_ctx *ctx, grn_obj *column, column_name, GRN_TABLE_MAX_KEY_SIZE); GRN_TEXT_INIT(&inspected, 0); - grn_inspect(ctx, &value_record, &inspected); + grn_inspect(ctx, &inspected, &value_record); ERR(rc, "[column][set-value] failed to cast: <%.*s>: <%.*s>", column_name_size, Modified: lib/window_function.c (+1 -1) =================================================================== --- lib/window_function.c 2017-01-29 22:55:27 +0900 (49157ad) +++ lib/window_function.c 2017-01-29 23:22:58 +0900 (96482fb) @@ -320,7 +320,7 @@ grn_table_apply_window_function(grn_ctx *ctx, if (!grn_expr_is_window_function_call(ctx, window_function_call)) { grn_obj inspected; GRN_TEXT_INIT(&inspected, 0); - grn_inspect(ctx, window_function_call, &inspected); + grn_inspect(ctx, &inspected, window_function_call); ERR(GRN_INVALID_ARGUMENT, "[table][apply][window-function] must be window function call: %.*s", (int)GRN_TEXT_LEN(&inspected), -------------- next part -------------- HTML����������������������������...Download