Kouhei Sutou
null+****@clear*****
Thu Jul 19 16:41:07 JST 2018
Kouhei Sutou 2018-07-19 16:41:07 +0900 (Thu, 19 Jul 2018) New Revision: 099e537490ebada80b139e94f004103b969892ce https://github.com/groonga/groonga/commit/099e537490ebada80b139e94f004103b969892ce Message: ii: show index column name on error Modified files: lib/ii.c Modified: lib/ii.c (+4 -1) =================================================================== --- lib/ii.c 2018-07-18 17:01:24 +0900 (8e2e7f81c) +++ lib/ii.c 2018-07-19 16:41:07 +0900 (d9229ced7) @@ -6563,7 +6563,10 @@ grn_ii_column_update(grn_ctx *ctx, grn_ii *ii, grn_id rid, unsigned int section, return ctx->rc; } if (rid == GRN_ID_NIL) { - ERR(GRN_INVALID_ARGUMENT, "[ii][column][update] record ID is nil"); + DEFINE_NAME(ii); + ERR(GRN_INVALID_ARGUMENT, + "[ii][column][update] record ID is nil: <%.*s>", + name_size, name); return ctx->rc; } if (old || new) { -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180719/14597e85/attachment.htm