[Groonga-commit] groonga/groonga [master] close database.

Zurück zum Archiv-Index

null+****@clear***** null+****@clear*****
2011年 3月 13日 (日) 21:37:34 JST


Kouhei Sutou	2011-03-13 12:37:34 +0000 (Sun, 13 Mar 2011)

  New Revision: 65ba3c4be00d3e37ed80139631f3ac2ea3413ce6

  Log:
    close database.

  Modified files:
    test/unit/core/test-inverted-index.c

  Modified: test/unit/core/test-inverted-index.c (+2 -1)
===================================================================
--- test/unit/core/test-inverted-index.c    2011-03-13 12:36:20 +0000 (c1267a8)
+++ test/unit/core/test-inverted-index.c    2011-03-13 12:37:34 +0000 (e6aa6fc)
@@ -1,6 +1,6 @@
 /* -*- c-basic-offset: 2; coding: utf-8 -*- */
 /*
-  Copyright (C) 2008-2010  Kouhei Sutou <kou****@clear*****>
+  Copyright (C) 2008-2011  Kouhei Sutou <kou****@clear*****>
 
   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
@@ -152,6 +152,7 @@ cut_teardown(void)
     inverted_index_free();
     if (path)
       grn_ii_remove(context, path);
+    grn_obj_close(context, db);
     grn_ctx_fin(context);
     g_free(context);
   }




Groonga-commit メーリングリストの案内
Zurück zum Archiv-Index