[Groonga-commit] groonga/groonga at 10ec9ad [master] grn_pat: add comments to members of grn_pat_delinfo

Back to archive index

susumu.yata null+****@clear*****
Wed Oct 28 15:55:08 JST 2015


susumu.yata	2015-10-28 15:55:08 +0900 (Wed, 28 Oct 2015)

  New Revision: 10ec9ad21bf901d4bc8096545c493cac6e5450c2
  https://github.com/groonga/groonga/commit/10ec9ad21bf901d4bc8096545c493cac6e5450c2

  Message:
    grn_pat: add comments to members of grn_pat_delinfo

  Modified files:
    lib/grn_pat.h

  Modified: lib/grn_pat.h (+5 -4)
===================================================================
--- lib/grn_pat.h    2015-10-28 10:46:57 +0900 (c965c22)
+++ lib/grn_pat.h    2015-10-28 15:55:08 +0900 (4862340)
@@ -44,10 +44,11 @@ struct _grn_pat {
 #define GRN_PAT_NDELINFOS 0x100
 
 typedef struct {
-  grn_id d;
-  grn_id ld;
-  uint32_t stat;
-  uint32_t shared;
+  grn_id d;        /* The ID of a deleting node. */
+  grn_id ld;       /* The ID of the parent node of a deleting node. */
+                   /* delinfo->ld is set if required. */
+  uint32_t stat;   /* DL_EMPTY, DL_PHASE1, or DL_PHASE2. */
+  uint32_t shared; /* This flag is used if GRN_OBJ_KEY_WITH_SIS is set. */
 } grn_pat_delinfo;
 
 struct grn_pat_header {
-------------- next part --------------
HTML����������������������������...
Download 



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