[Groonga-commit] groonga/groonga at 93c0729 [master] ii: fix typos

Back to archive index
Kouhei Sutou null+****@clear*****
Fri Apr 5 11:34:19 JST 2019


Kouhei Sutou	2019-04-05 11:34:19 +0900 (Fri, 05 Apr 2019)

  Revision: 93c072902083bffa40132180504a841c8e513df5
  https://github.com/groonga/groonga/commit/93c072902083bffa40132180504a841c8e513df5

  Message:
    ii: fix typos

  Modified files:
    lib/ii.c

  Modified: lib/ii.c (+3 -3)
===================================================================
--- lib/ii.c    2019-04-05 11:33:58 +0900 (1383b05ac)
+++ lib/ii.c    2019-04-05 11:34:19 +0900 (35f11e165)
@@ -287,7 +287,7 @@ grn_ii_set_array_pseg_inline(grn_ii *ii,
   if (lseg < GRN_II_MAX_LSEG) {
     ii->header.common->ainfo[lseg] = pseg;
   } else {
-    ii->header.large->ainfo[lseg - GRN_II_MAX_LSEG] = pseg;
+    ii->header.large->ainfo_extend[lseg - GRN_II_MAX_LSEG] = pseg;
   }
 }
 
@@ -298,7 +298,7 @@ grn_ii_get_buffer_pseg_inline(grn_ii *ii,
   if (lseg < GRN_II_MAX_LSEG) {
     return ii->header.common->binfo[lseg];
   } else {
-    return ii->header.large->binfo[lseg - GRN_II_MAX_LSEG];
+    return ii->header.large->binfo_extend[lseg - GRN_II_MAX_LSEG];
   }
 }
 
@@ -310,7 +310,7 @@ grn_ii_set_buffer_pseg_inline(grn_ii *ii,
   if (lseg < GRN_II_MAX_LSEG) {
     ii->header.common->binfo[lseg] = pseg;
   } else {
-    ii->header.large->binfo[lseg - GRN_II_MAX_LSEG] = pseg;
+    ii->header.large->binfo_extend[lseg - GRN_II_MAX_LSEG] = pseg;
   }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190405/8c504aa4/attachment.html>


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