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 | f8c6b97c2a1e3f97cbf1a71bb0920a944435ecf5 (patch) | |
tree | 83971054dc72c2f972eaefe3d1a9cfd981dd3dfb /sql/sql_derived.cc | |
parent | 3fa7764c8fb5eab7e8d1093424c3e5ba35877b68 (diff) | |
download | mariadb-git-f8c6b97c2a1e3f97cbf1a71bb0920a944435ecf5.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 |