[Groonga-commit] groonga/groonga at f67b6c6 [master] Add missing ", " for "DDL:set_token_filters" log

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Nov 25 21:31:12 JST 2014


Kouhei Sutou	2014-11-25 21:31:12 +0900 (Tue, 25 Nov 2014)

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

  Message:
    Add missing "," for "DDL:set_token_filters" log
    
    Reported by Naoya Murakami. Thanks!!!

  Modified files:
    lib/db.c

  Modified: lib/db.c (+3 -0)
===================================================================
--- lib/db.c    2014-11-24 21:31:00 +0900 (9ca83f1)
+++ lib/db.c    2014-11-25 21:31:12 +0900 (38eb9b0)
@@ -7211,6 +7211,9 @@ grn_obj_set_info_token_filters(grn_ctx *ctx,
 
     GRN_PTR_PUT(ctx, current_token_filters, token_filter);
 
+    if (i > 0) {
+      GRN_TEXT_PUTC(ctx, &token_filter_names, ',');
+    }
     token_filter_name_size = grn_obj_name(ctx,
                                           token_filter,
                                           token_filter_name,
-------------- next part --------------
HTML����������������������������...
下載 



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