1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03: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:
Georgi Kodinov
2010-11-02 15:20:02 +02:00
parent 0389c6aac0
commit 4e78acd35c

View File

@ -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
{