mirror of
https://github.com/MariaDB/server.git
synced 2026-04-22 08:15:31 +02:00
Bug #51208: Extra string allocation from thd->mem_root
in sql_show.cc, find_files() Removed the extra allocation.
This commit is contained in:
parent
20d704978d
commit
1a5a109524
1 changed files with 0 additions and 6 deletions
|
|
@ -534,12 +534,6 @@ find_files(THD *thd, List<LEX_STRING> *files, const char *db,
|
|||
else if (wild_compare(uname, wild, 0))
|
||||
continue;
|
||||
}
|
||||
if (!(file_name=
|
||||
thd->make_lex_string(file_name, uname, file_name_len, TRUE)))
|
||||
{
|
||||
my_dirend(dirp);
|
||||
DBUG_RETURN(FIND_FILES_OOM);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue