Kentoku
null+****@clear*****
Thu Oct 4 10:46:08 JST 2012
Kentoku 2012-02-15 07:39:20 +0900 (Wed, 15 Feb 2012) New Revision: bfc8046891c4b655b050a31c35bcd4f8483302b4 https://github.com/mroonga/mroonga/commit/bfc8046891c4b655b050a31c35bcd4f8483302b4 Log: add dropping database at dropping temporary table. refs #1267 Modified files: ha_mroonga.cc Modified: ha_mroonga.cc (+4 -0) =================================================================== --- ha_mroonga.cc 2012-02-15 06:26:08 +0900 (116eb0e) +++ ha_mroonga.cc 2012-02-15 07:39:20 +0900 (1ba43e7) @@ -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); } -------------- next part -------------- HTML����������������������������...Download