Navigation Menu

Skip to content

Commit

Permalink
Fix a crash bug on shutdown when any opening table exists
Browse files Browse the repository at this point in the history
GitHub: fix #71

Reported by GMO Media, Inc. Thanks!!!
  • Loading branch information
kou committed Aug 8, 2015
1 parent 1565482 commit 0996b33
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ha_mroonga.cpp
Expand Up @@ -4549,7 +4549,10 @@ int ha_mroonga::close()
DBUG_RETURN(error);
}

error = add_wrap_hton(share->table_name, share->hton);
if (thd)
{
error = add_wrap_hton(share->table_name, share->hton);
}
bitmap_free(&multiple_column_key_bitmap);
if (share->use_count == 1) {
mrn_free_long_term_share(share->long_term_share);
Expand Down

0 comments on commit 0996b33

Please sign in to comment.