Navigation Menu

Skip to content

Commit

Permalink
[geo] use close() instead of unlink() to close geo_cursor.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 22, 2011
1 parent 2eb2e9c commit 3c56241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cc
Expand Up @@ -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;
Expand Down

0 comments on commit 3c56241

Please sign in to comment.