mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Changed mysql-test to print warnings for not existing table to DROP TABLE
Cleaned up test; Removed wrong DROP TABLE commands and use standard table and database names. changed store_warning() -> push_warning_print()
This commit is contained in:
@ -184,7 +184,9 @@ int mysql_rm_table_part2(THD *thd, TABLE_LIST *tables, bool if_exists,
|
||||
if (drop_temporary || access(path,F_OK))
|
||||
{
|
||||
if (if_exists)
|
||||
store_warning(thd, ER_BAD_TABLE_ERROR, table->real_name);
|
||||
push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_NOTE,
|
||||
ER_BAD_TABLE_ERROR, ER(ER_BAD_TABLE_ERROR),
|
||||
table->real_name);
|
||||
else
|
||||
error= 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user