Navigation Menu

Skip to content

Commit

Permalink
[geo] use unlink again because link accepts nil ID.
Browse files Browse the repository at this point in the history
See also commit:c0cb00c64c814121f87161f8edb18fddf05653d6 in groonga.
  • Loading branch information
kou committed Nov 22, 2011
1 parent b438ac8 commit 9ac4941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cc
Expand Up @@ -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;
Expand Down

0 comments on commit 9ac4941

Please sign in to comment.