[Groonga-commit] groonga/groonga at 05e2f2b [master] inspect: support new proc type GRN_PROC_INVALID

Back to archive index

Kouhei Sutou null+****@clear*****
Mon May 26 11:06:19 JST 2014


Kouhei Sutou	2014-05-26 11:06:19 +0900 (Mon, 26 May 2014)

  New Revision: 05e2f2b5d88d470306e3eb38b6c6e51fef8139b0
  https://github.com/groonga/groonga/commit/05e2f2b5d88d470306e3eb38b6c6e51fef8139b0

  Message:
    inspect: support new proc type GRN_PROC_INVALID

  Modified files:
    lib/util.c

  Modified: lib/util.c (+5 -0)
===================================================================
--- lib/util.c    2014-05-23 23:41:24 +0900 (ff7d7b4)
+++ lib/util.c    2014-05-26 11:06:19 +0900 (7d8f1ec)
@@ -231,6 +231,11 @@ grn_proc_inspect(grn_ctx *ctx, grn_obj *buf, grn_obj *obj)
 
   GRN_TEXT_PUTS(ctx, buf, "#<proc:");
   switch (proc->type) {
+  case GRN_PROC_INVALID :
+    GRN_TEXT_PUTS(ctx, buf, "invalid");
+    GRN_TEXT_PUTS(ctx, buf, ">");
+    return GRN_SUCCESS;
+    break;
   case GRN_PROC_TOKENIZER :
     GRN_TEXT_PUTS(ctx, buf, "tokenizer");
     break;
-------------- next part --------------
HTML����������������������������...
下载 



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