[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] [geo] use unlink again because link accepts nil ID.

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:40:06 JST 2012


Kouhei Sutou	2011-11-22 16:42:07 +0900 (Tue, 22 Nov 2011)

  New Revision: 9ac4941234587bd295f3a716f0a3a506dfaba9df
  https://github.com/mroonga/mroonga/commit/9ac4941234587bd295f3a716f0a3a506dfaba9df

  Log:
    [geo] use unlink again because link accepts nil ID.
    
    See also commit:c0cb00c64c814121f87161f8edb18fddf05653d6 in groonga.

  Modified files:
    ha_mroonga.cc

  Modified: ha_mroonga.cc (+1 -1)
===================================================================
--- ha_mroonga.cc    2011-11-22 16:38:07 +0900 (b9a6483)
+++ ha_mroonga.cc    2011-11-22 16:42:07 +0900 (585287b)
@@ -5624,7 +5624,7 @@ void ha_mroonga::clear_cursor_geo()
 {
   MRN_DBUG_ENTER_METHOD();
   if (geo_cursor) {
-    grn_obj_close(ctx, geo_cursor);
+    grn_obj_unlink(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