[Groonga-commit] groonga/groonga at d74b639 [master] Add '<...>' for showing input

Back to archive index

naoa null+****@clear*****
Sun Feb 21 18:22:08 JST 2016


naoa	2016-02-21 18:22:08 +0900 (Sun, 21 Feb 2016)

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

  Merged a369942: Merge pull request #488 from naoa/fuzzy-search-fix

  Message:
    Add '<...>' for showing input

  Modified files:
    lib/proc/proc_fuzzy_search.c
    lib/proc/proc_highlight.c

  Modified: lib/proc/proc_fuzzy_search.c (+1 -1)
===================================================================
--- lib/proc/proc_fuzzy_search.c    2016-02-21 18:20:17 +0900 (fddc2b4)
+++ lib/proc/proc_fuzzy_search.c    2016-02-21 18:22:08 +0900 (4c2e1f6)
@@ -353,7 +353,7 @@ selector_fuzzy_search(grn_ctx *ctx, grn_obj *table, grn_obj *index,
             flags |= GRN_TABLE_FUZZY_SEARCH_WITH_TRANSPOSITION;
           }
         } else {
-          GRN_PLUGIN_ERROR(ctx, GRN_INVALID_ARGUMENT, "invalid option name: %.*s",
+          GRN_PLUGIN_ERROR(ctx, GRN_INVALID_ARGUMENT, "invalid option name: <%.*s>",
                            key_size, (char *)key);
           grn_hash_cursor_close(ctx, cursor);
           goto exit;

  Modified: lib/proc/proc_highlight.c (+1 -1)
===================================================================
--- lib/proc/proc_highlight.c    2016-02-21 18:20:17 +0900 (1ac090c)
+++ lib/proc/proc_highlight.c    2016-02-21 18:22:08 +0900 (067e699)
@@ -298,7 +298,7 @@ func_highlight(grn_ctx *ctx, int nargs, grn_obj **args,
             default_close_tag = GRN_TEXT_VALUE(value);
             default_close_tag_length = GRN_TEXT_LEN(value);
           } else {
-            GRN_PLUGIN_ERROR(ctx, GRN_INVALID_ARGUMENT, "invalid option name: %.*s",
+            GRN_PLUGIN_ERROR(ctx, GRN_INVALID_ARGUMENT, "invalid option name: <%.*s>",
                              key_size, (char *)key);
             grn_hash_cursor_close(ctx, cursor);
             goto exit;
-------------- next part --------------
HTML����������������������������...
Descargar 



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