[Groonga-commit] groonga/groonga at d900a3f [master] Revert "Stop to save specs for builtin objects"

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Jul 28 16:41:20 JST 2016


Kouhei Sutou	2016-07-28 16:41:20 +0900 (Thu, 28 Jul 2016)

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

  Message:
    Revert "Stop to save specs for builtin objects"
    
    This reverts commit de0b9bb9967005cfdebdc1600942b6476a33a22d.
    
    We need to save specs for builtin types.

  Modified files:
    lib/db.c

  Modified: lib/db.c (+0 -1)
===================================================================
--- lib/db.c    2016-07-28 16:34:25 +0900 (2ba7f4e)
+++ lib/db.c    2016-07-28 16:41:20 +0900 (720574a)
@@ -8153,7 +8153,6 @@ grn_obj_spec_save(grn_ctx *ctx, grn_db_obj *obj)
   grn_obj v, *b;
   grn_obj_spec spec;
   if (obj->id & GRN_OBJ_TMP_OBJECT) { return; }
-  if (grn_id_is_builtin(ctx, obj->id)) { return; }
   if (!ctx->impl || !GRN_DB_OBJP(obj)) { return; }
   if (!(s = (grn_db *)ctx->impl->db) || !s->specs) { return; }
   if (obj->header.type == GRN_PROC && obj->range == GRN_ID_NIL) {
-------------- next part --------------
HTML����������������������������...
下载 



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