[Groonga-commit] groonga/groonga at 7293968 [master] pat_inspect_node: check existance of id

Back to archive index

naoa null+****@clear*****
Fri Jan 15 01:59:56 JST 2016


naoa	2016-01-15 01:59:56 +0900 (Fri, 15 Jan 2016)

  New Revision: 7293968ea534c22409d7ab758b233d6ae229b84b
  https://github.com/groonga/groonga/commit/7293968ea534c22409d7ab758b233d6ae229b84b

  Merged cc41923: Merge pull request #452 from naoa/fix-pat-inspect-node

  Message:
    pat_inspect_node: check existance of id

  Modified files:
    lib/pat.c

  Modified: lib/pat.c (+1 -1)
===================================================================
--- lib/pat.c    2016-01-15 00:11:33 +0900 (218f50a)
+++ lib/pat.c    2016-01-15 01:59:56 +0900 (154e894)
@@ -2670,7 +2670,7 @@ grn_pat_inspect_node(grn_ctx *ctx, grn_pat *pat, grn_id id, int check,
     GRN_TEXT_PUTS(ctx, buf, "\n");
     grn_pat_inspect_node(ctx, pat, node->lr[1], c, key_buf,
                          indent + 2, "R:", buf);
-  } else {
+  } else if (id) {
     int key_size;
     uint8_t *key;
 
-------------- next part --------------
HTML����������������������������...
Download 



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