[Groonga-commit] groonga/groonga at 4e98070 [master] Use named value explicitly for readability

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Oct 5 12:00:51 JST 2014


Kouhei Sutou	2014-10-05 12:00:51 +0900 (Sun, 05 Oct 2014)

  New Revision: 4e980704612c3d3c684af1d81c757ea2b9645e84
  https://github.com/groonga/groonga/commit/4e980704612c3d3c684af1d81c757ea2b9645e84

  Message:
    Use named value explicitly for readability

  Modified files:
    lib/db.c

  Modified: lib/db.c (+1 -1)
===================================================================
--- lib/db.c    2014-10-05 11:58:09 +0900 (ebe96ea)
+++ lib/db.c    2014-10-05 12:00:51 +0900 (0335c56)
@@ -5699,7 +5699,7 @@ grn_obj_set_value_column_var_size_vector(grn_ctx *ctx, grn_obj *obj, grn_id id,
         if (v && s &&
             (token = grn_token_open(ctx, lexicon, v, s,
                                     GRN_TOKEN_ADD, token_flags))) {
-          while (!token->status) {
+          while (token->status == GRN_TOKEN_DOING) {
             grn_id tid = grn_token_next(ctx, token);
             grn_uvector_add_element(ctx, &uvector, tid, 0);
           }
-------------- next part --------------
HTML����������������������������...
Download 



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