[Groonga-commit] groonga/groonga at 6c08251 [master] plugin stop_word: add a new line to represent code block

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Mar 8 17:05:58 JST 2015


Kouhei Sutou	2015-03-08 17:05:58 +0900 (Sun, 08 Mar 2015)

  New Revision: 6c082512750c1cb190023fc61ff55571cf0e2e7c
  https://github.com/groonga/groonga/commit/6c082512750c1cb190023fc61ff55571cf0e2e7c

  Message:
    plugin stop_word: add a new line to represent code block

  Modified files:
    plugins/token_filters/stop_word.c

  Modified: plugins/token_filters/stop_word.c (+2 -0)
===================================================================
--- plugins/token_filters/stop_word.c    2015-03-08 17:04:33 +0900 (7445fef)
+++ plugins/token_filters/stop_word.c    2015-03-08 17:05:58 +0900 (0393fb9)
@@ -41,6 +41,7 @@ stop_word_init(grn_ctx *ctx, grn_obj *table, grn_token_mode mode)
   if (mode != GRN_TOKEN_GET) {
     return NULL;
   }
+
   token_filter = GRN_PLUGIN_MALLOC(ctx, sizeof(grn_stop_word_token_filter));
   if (!token_filter) {
     GRN_PLUGIN_ERROR(ctx, GRN_NO_MEMORY_AVAILABLE,
@@ -90,6 +91,7 @@ stop_word_filter(grn_ctx *ctx,
   if (!token_filter) {
     return;
   }
+
   if (token_filter->mode == GRN_TOKEN_GET) {
     grn_id id;
     grn_obj *data;
-------------- next part --------------
HTML����������������������������...
Download 



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