mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 10:31:54 +01:00
Another attempt to fix the memory leak of mdev-5400.
This commit is contained in:
parent
d5262a63fc
commit
fde2777b27
2 changed files with 2 additions and 0 deletions
|
@ -10533,6 +10533,7 @@ void JOIN::cleanup(bool full)
|
||||||
{
|
{
|
||||||
tab->cleanup();
|
tab->cleanup();
|
||||||
}
|
}
|
||||||
|
table= 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -628,6 +628,7 @@ bool st_select_lex_unit::exec()
|
||||||
{
|
{
|
||||||
ha_rows records_at_start= 0;
|
ha_rows records_at_start= 0;
|
||||||
thd->lex->current_select= sl;
|
thd->lex->current_select= sl;
|
||||||
|
fake_select_lex->uncacheable|= sl->uncacheable;
|
||||||
|
|
||||||
{
|
{
|
||||||
set_limit(sl);
|
set_limit(sl);
|
||||||
|
|
Loading…
Add table
Reference in a new issue