mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
DROP DATABASE now returns (affected_rows) number of tables dropped
This commit is contained in:
@ -502,8 +502,6 @@ static long mysql_rm_known_files(THD *thd, MY_DIR *dirp, const char *db,
|
||||
{
|
||||
if (find_type(extension, &known_extentions,1+2) <= 0)
|
||||
found_other_files++;
|
||||
else
|
||||
deleted++;
|
||||
continue;
|
||||
}
|
||||
if (db && !my_strcasecmp(&my_charset_latin1,
|
||||
@ -530,7 +528,6 @@ static long mysql_rm_known_files(THD *thd, MY_DIR *dirp, const char *db,
|
||||
{
|
||||
goto err;
|
||||
}
|
||||
deleted++;
|
||||
}
|
||||
}
|
||||
if (thd->killed ||
|
||||
|
Reference in New Issue
Block a user