summaryrefslogtreecommitdiff
path: root/sql/sql_derived.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2004-04-05 13:56:05 +0300
committermonty@mysql.com <>2004-04-05 13:56:05 +0300
commit42cf92ce37c7ce9b7356d04273a858a9e42823b5 (patch)
tree0bfd237ce668df7f8a361ddbc36762c5a16b2bae /sql/sql_derived.cc
parent99f712a30bc6fcdb5a71cf349243295458d22074 (diff)
downloadmariadb-git-42cf92ce37c7ce9b7356d04273a858a9e42823b5.tar.gz
Fixed many compiler warnings
Fixed bugs in group_concat with ORDER BY and DISTINCT (Bugs #2695, #3381 and #3319) Fixed crash when doing rollback in slave and the io thread catched up with the sql thread Set locked_in_memory properly
Diffstat (limited to 'sql/sql_derived.cc')
-rw-r--r--sql/sql_derived.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_derived.cc b/sql/sql_derived.cc
index ea47ca9f71d..81269a8cbcf 100644
--- a/sql/sql_derived.cc
+++ b/sql/sql_derived.cc
@@ -115,7 +115,6 @@ static int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *unit,
TABLE *table;
int res;
select_union *derived_result;
- TABLE_LIST *tables= (TABLE_LIST *)first_select->table_list.first;
bool is_union= first_select->next_select() &&
first_select->next_select()->linkage == UNION_TYPE;
bool is_subsel= first_select->first_inner_unit() ? 1: 0;