[Groonga-commit] groonga/groonga at 7999450 [master] Use grn_obj_close() for table

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Aug 17 15:58:26 JST 2015


Kouhei Sutou	2015-08-17 15:58:26 +0900 (Mon, 17 Aug 2015)

  New Revision: 7999450b78093163b04d365accf1c90f26224ab7
  https://github.com/groonga/groonga/commit/7999450b78093163b04d365accf1c90f26224ab7

  Message:
    Use grn_obj_close() for table

  Modified files:
    lib/expr.c

  Modified: lib/expr.c (+2 -2)
===================================================================
--- lib/expr.c    2015-08-17 15:32:39 +0900 (10ac108)
+++ lib/expr.c    2015-08-17 15:58:26 +0900 (dd895cb)
@@ -5524,7 +5524,7 @@ grn_table_select(grn_ctx *ctx, grn_obj *table, grn_obj *expr,
                       ":", "filter(%d)", grn_table_size(ctx, res));
         if (ctx->rc) {
           if (res_created) {
-            GRN_OBJ_FIN(ctx, res);
+            grn_obj_close(ctx, res);
           }
           res = NULL;
           break;
@@ -5543,7 +5543,7 @@ grn_table_select(grn_ctx *ctx, grn_obj *table, grn_obj *expr,
         grn_table_select_sequential(ctx, table, expr, v, res, op);
         if (ctx->rc) {
           if (res_created) {
-            GRN_OBJ_FIN(ctx, res);
+            grn_obj_close(ctx, res);
           }
           res = NULL;
         }
-------------- next part --------------
HTML����������������������������...
다운로드 



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