[Groonga-commit] groonga/groonga at f64b02c [master] ii: remove debug print

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jan 29 10:22:21 JST 2018


Kouhei Sutou	2018-01-29 10:22:21 +0900 (Mon, 29 Jan 2018)

  New Revision: f64b02c31b1a337465efca999bb81017bbb2fab1
  https://github.com/groonga/groonga/commit/f64b02c31b1a337465efca999bb81017bbb2fab1

  Message:
    ii: remove debug print

  Modified files:
    lib/ii.c

  Modified: lib/ii.c (+0 -22)
===================================================================
--- lib/ii.c    2018-01-29 09:17:25 +0900 (dad2f4226)
+++ lib/ii.c    2018-01-29 10:22:21 +0900 (ffa630483)
@@ -4139,26 +4139,9 @@ buffer_new_lexicon_pat(grn_ctx *ctx,
             if (memcmp(((char *)current_key) + target_key_size,
                        key + target_key_size,
                        reduced_key_size) == 0) {
-              /* printf("continue: %d: %d: %c: %.*s\n", */
-              /*        reduced_key_size, */
-              /*        target_key_size, */
-              /*        ((char *)current_key)[target_key_size], */
-              /*        current_key_size, ((char *)current_key)); */
               continue;
             }
             buffer_new_find_segment(ctx, ii, size, tid, h, b, lseg, pseg);
-            if (*lseg == GRN_II_PSEG_NOT_ASSIGNED) {
-              /* printf("miss: %d: %d: %.*s\n", */
-              /*        target_key_size, */
-              /*        reduced_key_size, */
-              /*        current_key_size, ((char *)current_key)); */
-            } else {
-              /* printf("found: %d: %d: %.*s, %.*s\n", */
-              /*        target_key_size, */
-              /*        reduced_key_size, */
-              /*        key_size, key, */
-              /*        current_key_size, ((char *)current_key)); */
-            }
           }
         }
         grn_pat_cursor_close(ctx, cursor);
@@ -4172,11 +4155,6 @@ buffer_new_lexicon_pat(grn_ctx *ctx,
         }
         target_key_size -= reduced_key_size;
       }
-
-      if (*lseg == GRN_II_PSEG_NOT_ASSIGNED) {
-        /* printf("not found: %.*s\n", */
-        /*        key_size, key); */
-      }
     }
   } else {
     /* For other data */
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180129/5585310d/attachment.htm 



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