diff options
author | unknown <konstantin@mysql.com> | 2004-06-21 20:39:19 +0400 |
---|---|---|
committer | unknown <konstantin@mysql.com> | 2004-06-21 20:39:19 +0400 |
commit | de6285928dc948cf2f2a4cf5139f7c072c5f5929 (patch) | |
tree | 8a8a924d8251e20daeaa06411dd7cec364493bde /sql/sql_derived.cc | |
parent | 6091a75f774ce8d3241c269db54a4f21784f0351 (diff) | |
download | mariadb-git-de6285928dc948cf2f2a4cf5139f7c072c5f5929.tar.gz |
Unused variables removed (many files).
sql/item_func.cc:
Unused variable 'thd' removed.
sql/item_subselect.cc:
Unused variable 'type' removed.
sql/slave.cc:
Unused variable 'return_val' removed.
sql/sql_derived.cc:
Unused variable 'is_subsel' removed.
sql/sql_parse.cc:
Unused variables 'pstr' and 'create_info' removed.
sql/sql_prepare.cc:
Unused variable 'res' removed.
sql/time.cc:
Unused variable 'str_begin' removed.
Diffstat (limited to 'sql/sql_derived.cc')
-rw-r--r-- | sql/sql_derived.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_derived.cc b/sql/sql_derived.cc index 2e2ad6786fc..01459d3fc7a 100644 --- a/sql/sql_derived.cc +++ b/sql/sql_derived.cc @@ -117,7 +117,6 @@ static int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *unit, select_union *derived_result; bool is_union= first_select->next_select() && first_select->next_select()->linkage == UNION_TYPE; - bool is_subsel= first_select->first_inner_unit() ? 1: 0; SELECT_LEX *save_current_select= lex->current_select; DBUG_ENTER("mysql_derived"); |