[Groonga-commit] groonga/groonga at cbfbc4c [master] Remove needless unlink

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jan 25 00:12:23 JST 2016


Kouhei Sutou	2016-01-25 00:12:23 +0900 (Mon, 25 Jan 2016)

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

  Message:
    Remove needless unlink

  Modified files:
    lib/db.c

  Modified: lib/db.c (+0 -2)
===================================================================
--- lib/db.c    2016-01-25 00:00:51 +0900 (6474467)
+++ lib/db.c    2016-01-25 00:12:23 +0900 (99f70f4)
@@ -1874,11 +1874,9 @@ delete_reference_records(grn_ctx *ctx, grn_obj *table, grn_id id)
       continue;
     }
     if (col->header.type != GRN_COLUMN_INDEX) {
-      grn_obj_unlink(ctx, col);
       continue;
     }
     delete_reference_records_in_index(ctx, table, id, col);
-    grn_obj_unlink(ctx, col);
     if (ctx->rc != GRN_SUCCESS) {
       break;
     }
-------------- next part --------------
HTML����������������������������...
Download 



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