[Groonga-commit] groonga/groonga at 7e47c44 [master] Add missing rewind

Back to archive index

Kouhei Sutou null+****@clear*****
Thu May 2 19:28:57 JST 2013


Kouhei Sutou	2013-05-02 19:28:57 +0900 (Thu, 02 May 2013)

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

  Message:
    Add missing rewind
    
    It is required for two or more elements.

  Modified files:
    lib/db.c

  Modified: lib/db.c (+1 -0)
===================================================================
--- lib/db.c    2013-05-02 19:28:35 +0900 (c0f0d8a)
+++ lib/db.c    2013-05-02 19:28:57 +0900 (6bad170)
@@ -5254,6 +5254,7 @@ grn_obj_set_value(grn_ctx *ctx, grn_obj *obj, grn_id id,
                   int value_length = v->length;
                   grn_id tid;
                   if (range != v->domain) {
+                    GRN_BULK_REWIND(&cast_buf);
                     GRN_BULK_REWIND(&value_buf);
                     grn_bulk_write(ctx, &value_buf, value_ptr, value_length);
                     value_buf.header.domain = v->domain;
-------------- next part --------------
HTML����������������������������...
Télécharger 



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