[Groonga-mysql-commit] mroonga/mroonga [master] [geo] use close() instead of unlink() to close geo_cursor.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 11月 22日 (火) 15:49:11 JST


Kouhei Sutou	2011-11-22 06:49:11 +0000 (Tue, 22 Nov 2011)

  New Revision: 3c56241a509ad35742166357b2402295f47fe8ed

  Log:
    [geo] use close() instead of unlink() to close geo_cursor.

  Modified files:
    ha_mroonga.cc

  Modified: ha_mroonga.cc (+1 -1)
===================================================================
--- ha_mroonga.cc    2011-11-21 17:40:59 +0000 (7464da3)
+++ ha_mroonga.cc    2011-11-22 06:49:11 +0000 (3b87ecc)
@@ -5618,7 +5618,7 @@ void ha_mroonga::clear_cursor_geo()
 {
   MRN_DBUG_ENTER_METHOD();
   if (geo_cursor) {
-    grn_obj_unlink(ctx, geo_cursor);
+    grn_obj_close(ctx, geo_cursor);
     geo_cursor = NULL;
   }
   DBUG_VOID_RETURN;




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