diff options
author | unknown <monty@mysql.com> | 2004-03-17 10:30:40 +0200 |
---|---|---|
committer | unknown <monty@mysql.com> | 2004-03-17 10:30:40 +0200 |
commit | b523802138eef0c66d6ce89263b512c1494a277b (patch) | |
tree | 2f18de7b832ebd37828631dccd3562ffc5611fa7 /sql/sql_db.cc | |
parent | a8aacf87648f64e7489220dab7d8729c5c01e13d (diff) | |
download | mariadb-git-b523802138eef0c66d6ce89263b512c1494a277b.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; |