1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Post-merge fixes:

- Fix derived_view.test to work, and enable it
- Let subselect*.test do "DROP TABLE IF EXISTS" before they attempt to create the table.
This commit is contained in:
Sergey Petrunya
2011-10-24 15:22:17 +04:00
parent e19588dc70
commit acf27225b5
8 changed files with 34 additions and 15 deletions

View File

@ -14793,6 +14793,7 @@ free_tmp_table(THD *thd, TABLE *entry)
if (entry->file && entry->created)
{
entry->file->ha_index_or_rnd_end();
if (entry->db_stat)
entry->file->ha_drop_table(entry->s->table_name.str);
else