diff options
author | serg@serg.mylan <> | 2004-03-18 11:04:36 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2004-03-18 11:04:36 +0100 |
commit | 47747685a3d8df19ac4da90381123f682c3afc09 (patch) | |
tree | ca8da9ee200ffdf7ac8bb4c593adbfea620ea4a9 /sql/sql_db.cc | |
parent | 2b16cf783f05f30ef820e03c739609e682c28766 (diff) | |
parent | 1c658417b1731833f870497cdf67065800a624b5 (diff) | |
download | mariadb-git-47747685a3d8df19ac4da90381123f682c3afc09.tar.gz |
Merge bk-internal:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
Diffstat (limited to 'sql/sql_db.cc')
-rw-r--r-- | sql/sql_db.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc index 489c8aa425f..929be3b30f8 100644 --- a/sql/sql_db.cc +++ b/sql/sql_db.cc @@ -502,6 +502,8 @@ 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, @@ -519,6 +521,7 @@ static long mysql_rm_known_files(THD *thd, MY_DIR *dirp, const char *db, /* Link into list */ (*tot_list_next)= table_list; tot_list_next= &table_list->next; + deleted++; } else { |