summaryrefslogtreecommitdiff
path: root/sql/sql_olap.cc
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2003-05-14 21:51:33 +0300
committerbell@sanja.is.com.ua <>2003-05-14 21:51:33 +0300
commit19156321637e68fc16714af83be1892bedb8c2c9 (patch)
treedd5bbcb7c0561f00a367fdeab1296efdea9012ca /sql/sql_olap.cc
parent8bb08c512d829b84977beb120f64cd67ca9dd0a0 (diff)
downloadmariadb-git-19156321637e68fc16714af83be1892bedb8c2c9.tar.gz
subselect transformation moved in after-fix_field place
removed "of is null" if it is possible (this cset should be SCRUM related, but not approved as scrum task yet)
Diffstat (limited to 'sql/sql_olap.cc')
-rw-r--r--sql/sql_olap.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_olap.cc b/sql/sql_olap.cc
index a5f164e1e38..ef7bf013be8 100644
--- a/sql/sql_olap.cc
+++ b/sql/sql_olap.cc
@@ -150,7 +150,8 @@ int handle_olaps(LEX *lex, SELECT_LEX *select_lex)
{
if (cursor->do_redirect)
{
- cursor->table= ((TABLE_LIST*) cursor->table)->table;
+ //Sinisa TODO: there are function for this purpose: fix_tables_pointers
+ cursor->table= cursor->table_list->table;
cursor->do_redirect= 0;
}
}