[Groonga-mysql-commit] mroonga/mroonga at b74904b [master] Use length

Back to archive index
Kouhei Sutou null+****@clear*****
Fri Feb 15 17:03:32 JST 2019


Kouhei Sutou	2019-02-15 17:03:32 +0900 (Fri, 15 Feb 2019)

  Revision: b74904b293eb708824d7d48891555eaa9922c4b4
  https://github.com/mroonga/mroonga/commit/b74904b293eb708824d7d48891555eaa9922c4b4

  Message:
    Use length

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp    2019-02-15 17:03:15 +0900 (6994abf1)
+++ ha_mroonga.cpp    2019-02-15 17:03:32 +0900 (0cc1565e)
@@ -10427,7 +10427,7 @@ void ha_mroonga::set_normalizer(grn_obj *lexicon,
     grn_obj normalizer_spec;
     GRN_TEXT_INIT(&normalizer_spec, 0);
     if (normalizer) {
-      GRN_TEXT_SETS(ctx, &normalizer_spec, normalizer);
+      GRN_TEXT_SET(ctx, &normalizer_spec, normalizer, normalizer_length);
     } else {
       Field *field = key->key_part[0].field;
       mrn::FieldNormalizer field_normalizer(ctx, ha_thd(), field);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20190215/eabf247c/attachment.html>


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