[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] [geo] use close() instead of unlink() to close geo_cursor.

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:54:05 JST 2012


Kouhei Sutou	2011-11-22 15:49:11 +0900 (Tue, 22 Nov 2011)

  New Revision: 3c56241a509ad35742166357b2402295f47fe8ed
  https://github.com/mroonga/mroonga/commit/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-22 02:40:59 +0900 (7464da3)
+++ ha_mroonga.cc    2011-11-22 15:49:11 +0900 (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;
-------------- next part --------------
HTML����������������������������...
Download 



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