[Groonga-commit] groonga/groonga at 04ab417 [master] Fix wrong variable

Back to archive index

Kouhei Sutou null+****@clear*****
Mon May 28 14:42:22 JST 2018


Kouhei Sutou	2018-05-28 14:42:22 +0900 (Mon, 28 May 2018)

  New Revision: 04ab417bdd9dd0906f7f86250db62f87fe74a592
  https://github.com/groonga/groonga/commit/04ab417bdd9dd0906f7f86250db62f87fe74a592

  Message:
    Fix wrong variable

  Modified files:
    lib/tokenizers.c

  Modified: lib/tokenizers.c (+1 -3)
===================================================================
--- lib/tokenizers.c    2018-05-28 14:16:05 +0900 (317f2ef16)
+++ lib/tokenizers.c    2018-05-28 14:42:22 +0900 (854d5133d)
@@ -436,9 +436,7 @@ ngram_switch_to_loose_mode(grn_ctx *ctx,
         offsets++;
       }
     }
-    if (checks) {
-      *loose_checks = *checks;
-    }
+    *loose_types = *types;
     if (offsets) {
       if (last_offset) {
         *loose_offsets = last_offset;
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180528/5e682bfb/attachment.htm 



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