[Groonga-commit] groonga/groonga at 75db066 [master] Fix a bug aborting tokenizing unexpectedly.

Back to archive index

Daijiro MORI null+****@clear*****
Wed Sep 18 09:41:53 JST 2013


Daijiro MORI	2013-09-18 09:41:53 +0900 (Wed, 18 Sep 2013)

  New Revision: 75db066f014871012a6a272f219c3e16d576965a
  https://github.com/groonga/groonga/commit/75db066f014871012a6a272f219c3e16d576965a

  Message:
    Fix a bug aborting tokenizing unexpectedly.

  Modified files:
    lib/db.c

  Modified: lib/db.c (+1 -1)
===================================================================
--- lib/db.c    2013-09-15 15:41:33 +0900 (d992ea1)
+++ lib/db.c    2013-09-18 09:41:53 +0900 (5afe27e)
@@ -9125,7 +9125,7 @@ grn_table_tokenize(grn_ctx *ctx, grn_obj *table,
       goto exit;
     }
   }
-  while (!token->status) {
+  while (token->status != GRN_TOKEN_DONE) {
     grn_id tid;
     if ((tid = grn_token_next(ctx, token))) {
       GRN_RECORD_PUT(ctx, buf, tid);
-------------- next part --------------
HTML����������������������������...
Download 



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