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

Back to archive index
Kouhei Sutou null+****@clear*****
Tue Mar 5 17:39:33 JST 2019


Kouhei Sutou	2019-03-05 17:39:33 +0900 (Tue, 05 Mar 2019)

  Revision: a7dcca181fe71845019c853545e58feb46160b13
  https://github.com/groonga/groonga/commit/a7dcca181fe71845019c853545e58feb46160b13

  Message:
    ii: fix typos

  Modified files:
    lib/ii.c

  Modified: lib/ii.c (+6 -6)
===================================================================
--- lib/ii.c    2019-03-05 17:38:24 +0900 (4e1f4813f)
+++ lib/ii.c    2019-03-05 17:39:33 +0900 (a43674819)
@@ -3332,13 +3332,13 @@ merger_put_next_chunk(grn_ctx *ctx, merger_data *data)
       merger_put_next_id(ctx, data, &(chunk_data->id));
       if ((data->ii->header->flags & GRN_OBJ_WITH_POSITION)) {
         uint32_t i;
-        uint32_t rest_n_positiongs =
+        uint32_t rest_n_positions =
           (uint32_t)(chunk_data->position_gaps_end -
                      chunk_data->position_gaps);
-        uint32_t rest_n_dest_positiongs =
+        uint32_t rest_n_dest_positions =
           (uint32_t)(data->dest.position_gaps_end -
                      data->dest.position_gaps);
-        if (chunk_data->id.tf > rest_n_positiongs) {
+        if (chunk_data->id.tf > rest_n_positions) {
           merger_buffer_data *buffer_data = &(data->source.buffer);
           grn_obj term;
           DEFINE_NAME(data->ii);
@@ -3357,10 +3357,10 @@ merger_put_next_chunk(grn_ctx *ctx, merger_data *data)
                   buffer_data->term->tid,
                   chunk_data->id.rid, chunk_data->id.sid,
                   chunk_data->id.tf,
-                  rest_n_positiongs);
+                  rest_n_positions);
           GRN_OBJ_FIN(ctx, &term);
         }
-        if (chunk_data->id.tf > rest_n_dest_positiongs) {
+        if (chunk_data->id.tf > rest_n_dest_positions) {
           /* TODO: Make this case error. */
           merger_buffer_data *buffer_data = &(data->source.buffer);
           grn_obj term;
@@ -3381,7 +3381,7 @@ merger_put_next_chunk(grn_ctx *ctx, merger_data *data)
                   buffer_data->term->tid,
                   chunk_data->id.rid, chunk_data->id.sid,
                   chunk_data->id.tf,
-                  rest_n_dest_positiongs);
+                  rest_n_dest_positions);
           GRN_OBJ_FIN(ctx, &term);
         }
         for (i = 0; i < chunk_data->id.tf; i++) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190305/974de9c0/attachment-0001.html>


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