[Groonga-commit] groonga/groonga at 227e0f4 [master] Add missing domain initialization of grn_obj

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jul 6 21:37:59 JST 2015


Kouhei Sutou	2015-07-06 21:37:59 +0900 (Mon, 06 Jul 2015)

  New Revision: 227e0f445ed6901c408ccf9b3dfcd9239a722553
  https://github.com/groonga/groonga/commit/227e0f445ed6901c408ccf9b3dfcd9239a722553

  Message:
    Add missing domain initialization of grn_obj

  Modified files:
    lib/grn_ctx.h

  Modified: lib/grn_ctx.h (+1 -0)
===================================================================
--- lib/grn_ctx.h    2015-07-06 20:30:22 +0900 (4ba5f3c)
+++ lib/grn_ctx.h    2015-07-06 21:37:59 +0900 (22316cc)
@@ -627,6 +627,7 @@ typedef struct {
   (db_obj)->obj.header.type = (obj_type);\
   (db_obj)->obj.header.impl_flags = 0;\
   (db_obj)->obj.header.flags = 0;\
+  (db_obj)->obj.header.domain = GRN_ID_NIL;\
   (db_obj)->obj.id = GRN_ID_NIL;\
   (db_obj)->obj.user_data.ptr = NULL;\
   (db_obj)->obj.finalizer = NULL;\
-------------- next part --------------
HTML����������������������������...
Download 



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