Navigation Menu

Skip to content

Commit

Permalink
add dropping database at dropping temporary table. refs #1267
Browse files Browse the repository at this point in the history
  • Loading branch information
Kentoku committed Feb 14, 2012
1 parent 29ea47f commit bfc8046
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ha_mroonga.cc
Expand Up @@ -3569,6 +3569,10 @@ int ha_mroonga::delete_table(const char *name)
mrn_open_mutex_lock();
mrn_free_tmp_table_share(tmp_table_share);
mrn_open_mutex_unlock();
if (name[0] != '.') {
/* temporary table */
mrn_drop_db(mrn_hton_ptr, (char *) name);
}
DBUG_RETURN(error);
}

Expand Down

0 comments on commit bfc8046

Please sign in to comment.