mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Portability fixes
This commit is contained in:
@ -488,7 +488,8 @@ static long mysql_rm_known_files(THD *thd, MY_DIR *dirp, const char *db,
|
||||
my_dirend(dirp);
|
||||
DBUG_RETURN(-1);
|
||||
}
|
||||
raid_dirs.push_back(dir=new String(newpath, &my_charset_latin1));
|
||||
raid_dirs.push_back(dir=new (&thd->mem_root)
|
||||
String(newpath, &my_charset_latin1));
|
||||
dir->copy();
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user