[Groonga-commit] groonga/groonga [master] [pat] fix N elements.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 7月 1日 (金) 11:17:22 JST


Kouhei Sutou	2011-07-01 02:17:22 +0000 (Fri, 01 Jul 2011)

  New Revision: 3533456f46a6d1f5b37b5086810d1e15872ca263

  Log:
    [pat] fix N elements.

  Modified files:
    lib/pat.c

  Modified: lib/pat.c (+2 -2)
===================================================================
--- lib/pat.c    2011-06-30 11:11:17 +0000 (1e2495a)
+++ lib/pat.c    2011-07-01 02:17:22 +0000 (dadce91)
@@ -2197,8 +2197,8 @@ grn_pat_check(grn_ctx *ctx, grn_pat *pat)
 {
   char buf[8];
   struct grn_pat_header *h = pat->header;
-  GRN_OUTPUT_ARRAY_OPEN("RESULT", 8);
-  GRN_OUTPUT_MAP_OPEN("SUMMARY", 8);
+  GRN_OUTPUT_ARRAY_OPEN("RESULT", 1);
+  GRN_OUTPUT_MAP_OPEN("SUMMARY", 11);
   GRN_OUTPUT_CSTR("flags");
   grn_itoh(h->flags, buf, 8);
   GRN_OUTPUT_STR(buf, 8);




Groonga-commit メーリングリストの案内
Back to archive index