diff options
author | monty@mishka.local <> | 2005-08-25 06:55:48 +0300 |
---|---|---|
committer | monty@mishka.local <> | 2005-08-25 06:55:48 +0300 |
commit | f384e082771a980cba5a607097ca7338ee6e84b0 (patch) | |
tree | 7dfaa1b1889d948f6f78eb4f70bcf87091e7f02d /sql/sql_table.cc | |
parent | 05ee47a80d192a3e72c43c50ce5d1773a866c669 (diff) | |
parent | 17654cd7af7f3739d97b68c6b5d00aae7d5dc8ce (diff) | |
download | mariadb-git-f384e082771a980cba5a607097ca7338ee6e84b0.tar.gz |
Merge mishka.local:/home/my/mysql-4.1
into mishka.local:/home/my/mysql-5.0
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 8874a70327e..a7aa7f30aa0 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -229,6 +229,7 @@ int mysql_rm_table_part2(THD *thd, TABLE_LIST *tables, bool if_exists, for (table= tables; table; table= table->next_local) { char *db=table->db; + table->was_dropped= 0; mysql_ha_flush(thd, table, MYSQL_HA_CLOSE_FINAL); if (!close_temporary_table(thd, db, table->table_name)) { @@ -300,6 +301,8 @@ int mysql_rm_table_part2(THD *thd, TABLE_LIST *tables, bool if_exists, wrong_tables.append(','); wrong_tables.append(String(table->table_name,system_charset_info)); } + else + table->was_dropped= 1; } thd->tmp_table_used= tmp_table_deleted; error= 0; |