Kouhei Sutou
null+****@clear*****
Wed May 9 14:18:11 JST 2018
Kouhei Sutou 2018-05-09 14:18:11 +0900 (Wed, 09 May 2018) New Revision: f20657715a4d3355939e492aff0efb97a758a4e6 https://github.com/groonga/groonga/commit/f20657715a4d3355939e492aff0efb97a758a4e6 Message: token_cursor: reset cursor each time Modified files: lib/token_cursor.c Modified: lib/token_cursor.c (+1 -0) =================================================================== --- lib/token_cursor.c 2018-05-09 14:17:55 +0900 (1a75909c3) +++ lib/token_cursor.c 2018-05-09 14:18:11 +0900 (fc21294f3) @@ -216,6 +216,7 @@ grn_token_cursor_next(grn_ctx *ctx, grn_token_cursor *token_cursor) while (token_cursor->status != GRN_TOKEN_CURSOR_DONE) { if (tokenizer) { grn_proc *tokenizer_proc = (grn_proc *)tokenizer; + grn_token_reset(ctx, current_token); if (tokenizer_proc->callbacks.tokenizer.next) { tokenizer_proc->callbacks.tokenizer.next(ctx, query, -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180509/187dd0bd/attachment-0001.htm