[Groonga-commit] groonga/groonga at c675da1 [master] Add missing explicit initialization

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jan 14 14:02:56 JST 2014


Kouhei Sutou	2014-01-14 14:02:56 +0900 (Tue, 14 Jan 2014)

  New Revision: c675da1b2bbdb6866a56ebc259fd9f114f9ac2d6
  https://github.com/groonga/groonga/commit/c675da1b2bbdb6866a56ebc259fd9f114f9ac2d6

  Message:
    Add missing explicit initialization

  Modified files:
    lib/db.c

  Modified: lib/db.c (+1 -0)
===================================================================
--- lib/db.c    2014-01-14 12:28:30 +0900 (8f5f7e7)
+++ lib/db.c    2014-01-14 14:02:56 +0900 (d601d92)
@@ -2805,6 +2805,7 @@ grn_obj_search_accessor(grn_ctx *ctx, grn_obj *obj, grn_obj *query,
           grn_ii_posting posting;
           posting.rid = *record_id;
           posting.sid = 1;
+          posting.pos = 0;
           posting.weight = recinfo->score - 1;
           grn_ii_posting_add(ctx, &posting, (grn_hash *)res, op);
         });
-------------- next part --------------
HTML����������������������������...
下載 



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