Commit 4e78acd3 authored by Georgi Kodinov's avatar Georgi Kodinov

Bug #51208: Extra string allocation from thd->mem_root

in sql_show.cc, find_files()

Removed the extra allocation.
parent 0389c6aa
......@@ -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
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment