[Groonga-commit] groonga/groonga [master] grn_obj_clear_lock() clears db object itself

Back to archive index

null+****@clear***** null+****@clear*****
2011年 7月 21日 (木) 19:13:43 JST


Daijiro MORI	2011-07-21 10:13:43 +0000 (Thu, 21 Jul 2011)

  New Revision: aaeec733003b2057c6e4d099b0bbee4c36bd2812

  Log:
    grn_obj_clear_lock() clears db object itself

  Modified files:
    lib/db.c

  Modified: lib/db.c (+1 -0)
===================================================================
--- lib/db.c    2011-07-13 12:53:21 +0000 (51cb40a)
+++ lib/db.c    2011-07-21 10:13:43 +0000 (9fb28e3)
@@ -6695,6 +6695,7 @@ grn_obj_clear_lock(grn_ctx *ctx, grn_obj *obj)
         grn_table_cursor_close(ctx, cur);
       }
     }
+    grn_io_clear_lock(grn_obj_io(obj));
     break;
   case GRN_TABLE_HASH_KEY :
   case GRN_TABLE_PAT_KEY :




Groonga-commit メーリングリストの案内
Back to archive index