[Groonga-commit] groonga/groonga at a2e6b54 [master] Use GRN_PLUGIN_ERROR instead of ERR in proc_snippet

Back to archive index

naoa null+****@clear*****
Thu Feb 18 19:39:27 JST 2016


naoa	2016-02-18 19:39:27 +0900 (Thu, 18 Feb 2016)

  New Revision: a2e6b5485ebaf21a74c2aeb27784a3c4b5e42999
  https://github.com/groonga/groonga/commit/a2e6b5485ebaf21a74c2aeb27784a3c4b5e42999

  Merged af81362: Merge pull request #483 from naoa/remove-needless

  Message:
    Use GRN_PLUGIN_ERROR instead of ERR in proc_snippet

  Modified files:
    lib/proc/proc_snippet.c

  Modified: lib/proc/proc_snippet.c (+1 -1)
===================================================================
--- lib/proc/proc_snippet.c    2016-02-18 19:38:23 +0900 (1df9341)
+++ lib/proc/proc_snippet.c    2016-02-18 19:39:27 +0900 (a15bc26)
@@ -262,7 +262,7 @@ func_snippet_full(grn_ctx *ctx, int nargs, grn_obj **args, grn_user_data *user_d
             grn_obj inspected;
             GRN_TEXT_INIT(&inspected, 0);
             grn_inspect(ctx, &inspected, normalizer);
-            ERR(GRN_INVALID_ARGUMENT,
+            GRN_PLUGIN_ERROR(ctx, GRN_INVALID_ARGUMENT,
                 "[snippet_full] not normalizer: %.*s",
                 (int)GRN_TEXT_LEN(&inspected),
                 GRN_TEXT_VALUE(&inspected));
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index