[Groonga-commit] groonga/groonga at 7fc0300 [master] Add missing assignments

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Mar 11 17:38:24 JST 2015


Kouhei Sutou	2015-03-11 17:38:24 +0900 (Wed, 11 Mar 2015)

  New Revision: 7fc0300792933042684c717916a0ac7ee65d142d
  https://github.com/groonga/groonga/commit/7fc0300792933042684c717916a0ac7ee65d142d

  Message:
    Add missing assignments

  Modified files:
    lib/operator.c

  Modified: lib/operator.c (+4 -0)
===================================================================
--- lib/operator.c    2015-03-11 17:21:06 +0900 (22636fd)
+++ lib/operator.c    2015-03-11 17:38:24 +0900 (aa183c6)
@@ -320,12 +320,16 @@ grn_operator_to_string(grn_operator op)
         if (!grn_obj_cast(ctx, x, &dest, GRN_FALSE)) {\
           r = (GRN_BULK_VSIZE(&dest) == GRN_BULK_VSIZE(y) &&\
                !memcmp(GRN_BULK_HEAD(&dest), GRN_BULK_HEAD(y), GRN_BULK_VSIZE(y))); \
+        } else {\
+          r = GRN_FALSE;\
         }\
       } else {\
         GRN_OBJ_INIT(&dest, GRN_BULK, 0, x->header.domain);\
         if (!grn_obj_cast(ctx, y, &dest, GRN_FALSE)) {\
           r = (GRN_BULK_VSIZE(&dest) == GRN_BULK_VSIZE(x) &&\
                !memcmp(GRN_BULK_HEAD(&dest), GRN_BULK_HEAD(x), GRN_BULK_VSIZE(x))); \
+        } else {\
+          r = GRN_FALSE;\
         }\
       }\
       GRN_OBJ_FIN(ctx, &dest);\
-------------- next part --------------
HTML����������������������������...
Download 



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