mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Another attempt to fix the memory leak of mdev-5400.
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user