diff options
author | hery.ramilison@oracle.com <> | 2011-03-16 15:11:20 +0100 |
---|---|---|
committer | MySQL Build Team <build@mysql.com> | 2011-03-16 15:11:20 +0100 |
commit | 18d2e55c51525003e2267e06e7de5699f90a80f7 (patch) | |
tree | 3b31ba86b07ae94f5ca16e551fc8157d0188b2ab /sql/sql_db.cc | |
parent | 5aed24509824dae9fb61f4cdc17510707ec314ad (diff) | |
parent | eea75513c22f074c6d7e46f14acf693bcbb0da56 (diff) | |
download | mariadb-git-18d2e55c51525003e2267e06e7de5699f90a80f7.tar.gz |
Merge from mysql-5.5.10-release
Diffstat (limited to 'sql/sql_db.cc')
-rw-r--r-- | sql/sql_db.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc index 665bcbbbe9f..035e992db1f 100644 --- a/sql/sql_db.cc +++ b/sql/sql_db.cc @@ -1045,9 +1045,9 @@ static bool find_db_tables_and_rm_known_files(THD *thd, MY_DIR *dirp, } if (!(extension= strrchr(file->name, '.'))) extension= strend(file->name); - if (find_type(extension, &deletable_extentions,1+2) <= 0) + if (find_type(extension, &deletable_extentions, FIND_TYPE_NO_PREFIX) <= 0) { - if (find_type(extension, ha_known_exts(),1+2) <= 0) + if (find_type(extension, ha_known_exts(), FIND_TYPE_NO_PREFIX) <= 0) *found_other_files= true; continue; } |