summaryrefslogtreecommitdiff
path: root/sql/sql_union.cc
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2003-02-19 14:58:44 +0100
committerunknown <lenz@mysql.com>2003-02-19 14:58:44 +0100
commitea3e5a5c0fd2a6a81552574b7820760dd9a98cbe (patch)
tree89fd91a2f02bd43a041b8087ebd24cb77befeae1 /sql/sql_union.cc
parent22815476c0a9b43f86fe640f27a2af45c6419e34 (diff)
downloadmariadb-git-ea3e5a5c0fd2a6a81552574b7820760dd9a98cbe.tar.gz
Applying Sinisa's patch:
"Cleaning the code of the remaining OLAP code. This code is unnecessary in 4.1/5.0"
Diffstat (limited to 'sql/sql_union.cc')
-rw-r--r--sql/sql_union.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/sql/sql_union.cc b/sql/sql_union.cc
index 4e36ccafefc..faa106d4f42 100644
--- a/sql/sql_union.cc
+++ b/sql/sql_union.cc
@@ -50,11 +50,7 @@ int mysql_union(THD *thd, LEX *lex,select_result *result)
cursor;
cursor=cursor->next)
{
- if (cursor->do_redirect) // False if CUBE/ROLLUP
- {
- cursor->table= (my_reinterpret_cast(TABLE_LIST*) (cursor->table))->table;
- cursor->do_redirect= 0;
- }
+ cursor->table= (my_reinterpret_cast(TABLE_LIST*) (cursor->table))->table;
}
}