diff options
author | unknown <bell@sanja.is.com.ua> | 2003-11-27 09:34:41 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2003-11-27 09:34:41 +0200 |
commit | 443a157c6aa6bff7ed7b8dedc9c9c83be0eb8b58 (patch) | |
tree | 83971054dc72c2f972eaefe3d1a9cfd981dd3dfb /sql/sql_derived.cc | |
parent | a43114ac70617cfbb88e4fac003fd5d7e72f76be (diff) | |
download | mariadb-git-443a157c6aa6bff7ed7b8dedc9c9c83be0eb8b58.tar.gz |
removed unused variable
Diffstat (limited to 'sql/sql_derived.cc')
-rw-r--r-- | sql/sql_derived.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_derived.cc b/sql/sql_derived.cc index 2de56d715ea..efc15ffcb18 100644 --- a/sql/sql_derived.cc +++ b/sql/sql_derived.cc @@ -67,7 +67,6 @@ int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *unit, int res; select_union *derived_result; TABLE_LIST *tables= (TABLE_LIST *)first_select->table_list.first; - TMP_TABLE_PARAM tmp_table_param; bool is_union= first_select->next_select() && first_select->next_select()->linkage == UNION_TYPE; bool is_subsel= first_select->first_inner_unit() ? 1: 0; @@ -128,7 +127,7 @@ int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *unit, cursor->table->clear_query_id= 1; } - bzero((char*) &derived_result->tmp_table_param, sizeof(tmp_table_param)); + bzero((char*) &derived_result->tmp_table_param, sizeof(TMP_TABLE_PARAM)); derived_result->tmp_table_param.field_count= unit->types.elements; /* Temp table is created so that it hounours if UNION without ALL is to be |