1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fix for bug#42364 reverted.

This commit is contained in:
Ramil Kalimullin
2009-07-06 11:55:53 +05:00
parent 1621a97fd4
commit 345e8347cb
4 changed files with 1 additions and 15 deletions

View File

@ -1995,7 +1995,6 @@ int mysql_rm_table_part2(THD *thd, TABLE_LIST *tables, bool if_exists,
pthread_mutex_unlock(&LOCK_open);
thd->thread_specific_used|= tmp_table_deleted;
error= 0;
thd->no_warnings_for_error= 0;
if (wrong_tables.length())
{
if (!foreign_key_error)
@ -2057,6 +2056,7 @@ int mysql_rm_table_part2(THD *thd, TABLE_LIST *tables, bool if_exists,
err_with_placeholders:
unlock_table_names(thd, tables, (TABLE_LIST*) 0);
pthread_mutex_unlock(&LOCK_open);
thd->no_warnings_for_error= 0;
DBUG_RETURN(error);
}