diff options
author | monty@mysql.com <> | 2004-03-17 10:30:40 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2004-03-17 10:30:40 +0200 |
commit | 44667503b75b539e43a057743f7baefce418d4d6 (patch) | |
tree | 2f18de7b832ebd37828631dccd3562ffc5611fa7 /sql/sql_db.cc | |
parent | 350b4335696fc88efa2bbf2139d2f8bf9aa5701c (diff) | |
download | mariadb-git-44667503b75b539e43a057743f7baefce418d4d6.tar.gz |
After merge fixes
Diffstat (limited to 'sql/sql_db.cc')
-rw-r--r-- | sql/sql_db.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc index eed6c741f1b..489c8aa425f 100644 --- a/sql/sql_db.cc +++ b/sql/sql_db.cc @@ -488,7 +488,8 @@ static long mysql_rm_known_files(THD *thd, MY_DIR *dirp, const char *db, if ((mysql_rm_known_files(thd, new_dirp, NullS, newpath,1)) < 0) goto err; if (!(copy_of_path= thd->memdup(newpath, length+1)) || - !(dir= new (&thd->mem_root) String(copy_of_path, length)) || + !(dir= new (&thd->mem_root) String(copy_of_path, length, + &my_charset_bin)) || raid_dirs.push_back(dir)) goto err; continue; @@ -529,9 +530,6 @@ static long mysql_rm_known_files(THD *thd, MY_DIR *dirp, const char *db, deleted++; } } - List_iterator<String> it(raid_dirs); - String *dir; - if (thd->killed || (tot_list && mysql_rm_table_part2_with_lock(thd, tot_list, 1, 0, 1))) goto err; |