diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2003-04-26 15:12:14 +0300 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2003-04-26 15:12:14 +0300 |
commit | 18a321adce6f07c62fae971bf022316cc649cfba (patch) | |
tree | 2b95575b4286f33a9be8c889def65f21ec7b0aea /sql/sql_derived.cc | |
parent | 8078280c7664a385bccdf394f4927474ef738d98 (diff) | |
download | mariadb-git-18a321adce6f07c62fae971bf022316cc649cfba.tar.gz |
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.
Diffstat (limited to 'sql/sql_derived.cc')
-rw-r--r-- | sql/sql_derived.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_derived.cc b/sql/sql_derived.cc index 836c1eb048e..7f555f37d40 100644 --- a/sql/sql_derived.cc +++ b/sql/sql_derived.cc @@ -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; |