Kouhei Sutou
null+****@clear*****
Mon Feb 4 12:53:27 JST 2013
Kouhei Sutou 2013-02-04 12:53:27 +0900 (Mon, 04 Feb 2013) New Revision: f562181901fcaf6c16f1a4cd3f252b14b9116940 https://github.com/groonga/groonga-normalizer-mysql/commit/f562181901fcaf6c16f1a4cd3f252b14b9116940 Log: Use grn_plugin_charlen() instead of grn_tokenizer_charlen() It requires groonga on master. Modified files: normalizers/mysql.c Modified: normalizers/mysql.c (+1 -2) =================================================================== --- normalizers/mysql.c 2013-02-03 17:02:13 +0900 (9076204) +++ normalizers/mysql.c 2013-02-04 12:53:27 +0900 (ad4e2f7) @@ -43,7 +43,6 @@ */ #include <groonga/normalizer.h> -#include <groonga/tokenizer.h> #include <groonga/nfkc.h> #include <stdint.h> @@ -1641,7 +1640,7 @@ normalize(grn_ctx *ctx, grn_obj *string) int plane; uint32_t low_code; - character_length = grn_tokenizer_charlen(ctx, rest, rest_length, encoding); + character_length = grn_plugin_charlen(ctx, rest, rest_length, encoding); if (character_length == 0) { break; } -------------- next part -------------- HTML����������������������������...Download