[Groonga-commit] groonga/groonga [master] Remove needless bulk type set

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Mar 5 00:00:25 JST 2013


Kouhei Sutou	2013-03-05 00:00:25 +0900 (Tue, 05 Mar 2013)

  New Revision: 2c43346fb3d266cf47a55b024bec6dc1dca8407c
  https://github.com/groonga/groonga/commit/2c43346fb3d266cf47a55b024bec6dc1dca8407c

  Log:
    Remove needless bulk type set
    
    It is already bulk type.

  Modified files:
    lib/expr.c

  Modified: lib/expr.c (+0 -2)
===================================================================
--- lib/expr.c    2013-03-04 23:58:15 +0900 (97bba52)
+++ lib/expr.c    2013-03-05 00:00:25 +0900 (864e9a8)
@@ -2230,7 +2230,6 @@ grn_proc_call(grn_ctx *ctx, grn_obj *proc, int nargs, grn_obj *caller)
       x_ = GRN_UINT8_VALUE(x);                                          \
       left_expression_check(x_);                                        \
       GRN_INT16_SET(ctx, res, integer_operation(x_));                   \
-      res->header.type = GRN_BULK;                                      \
       res->header.domain = GRN_DB_INT16;                                \
     }                                                                   \
     break;                                                              \
@@ -2248,7 +2247,6 @@ grn_proc_call(grn_ctx *ctx, grn_obj *proc, int nargs, grn_obj *caller)
       x_ = GRN_UINT16_VALUE(x);                                         \
       left_expression_check(x_);                                        \
       GRN_INT32_SET(ctx, res, integer_operation(x_));                   \
-      res->header.type = GRN_BULK;                                      \
       res->header.domain = GRN_DB_INT32;                                \
     }                                                                   \
     break;                                                              \
-------------- next part --------------
HTML����������������������������...
Download 



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