diff options
author | serg@serg.mylan <> | 2004-03-19 16:43:03 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2004-03-19 16:43:03 +0100 |
commit | 13946359c68b332641d74ff1e77de8c782d31382 (patch) | |
tree | 44d850ce49c64220dd4569cd4dcb9e63374f649b /sql/sql_db.cc | |
parent | 6a636a4d07a90c29ab7b47dca557124df6dee9fd (diff) | |
download | mariadb-git-13946359c68b332641d74ff1e77de8c782d31382.tar.gz |
DROP DATABASE now returns (affected_rows) number of tables dropped
Diffstat (limited to 'sql/sql_db.cc')
-rw-r--r-- | sql/sql_db.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc index 929be3b30f8..6aaca975e53 100644 --- a/sql/sql_db.cc +++ b/sql/sql_db.cc @@ -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 || |