mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Making a better fix for double released pointers and safe
TMP_TABLE_PARAM. This involved moving things around in include files. All tests, including the ones with Valgrind passed.
This commit is contained in:
@ -151,7 +151,7 @@ int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *unit,
|
||||
|
||||
if ((derived_result=new select_union(table)))
|
||||
{
|
||||
derived_result->tmp_table_param=&tmp_table_param;
|
||||
derived_result->tmp_table_param=tmp_table_param;
|
||||
unit->offset_limit_cnt= select_cursor->offset_limit;
|
||||
unit->select_limit_cnt= select_cursor->select_limit+
|
||||
select_cursor->offset_limit;
|
||||
|
Reference in New Issue
Block a user