[Groonga-commit] groonga/grngo at 2e6516c [master] Fix a bug that grn_bulk_resize() was used (grn_bulk_space() is correct).

Back to archive index

susumu.yata null+****@clear*****
Fri Jul 24 19:07:47 JST 2015


susumu.yata	2015-07-24 19:07:47 +0900 (Fri, 24 Jul 2015)

  New Revision: 2e6516c5a9519100582f4e4ff30785fe54f88004
  https://github.com/groonga/grngo/commit/2e6516c5a9519100582f4e4ff30785fe54f88004

  Message:
    Fix a bug that grn_bulk_resize() was used (grn_bulk_space() is correct).

  Modified files:
    grngo.c

  Modified: grngo.c (+1 -1)
===================================================================
--- grngo.c    2015-07-24 18:55:05 +0900 (441eca0)
+++ grngo.c    2015-07-24 19:07:47 +0900 (5cd699a)
@@ -929,7 +929,7 @@ grngo_set_bool_vector(grngo_column *column, grn_id id, grngo_vector value) {
       }\
     }\
     GRN_ ## type ## _INIT(&obj, GRN_OBJ_VECTOR);\
-    rc = grn_bulk_resize(ctx, &obj, sizeof(GRNGO_DB_TYPE(type)) * value.size);\
+    rc = grn_bulk_space(ctx, &obj, sizeof(GRNGO_DB_TYPE(type)) * value.size);\
     if (rc != GRN_SUCCESS) {\
       break;\
     }\
-------------- next part --------------
HTML����������������������������...
Download 



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