From 54dea02f2a967088d8a2b408d2fb8a6259ef11d2 Mon Sep 17 00:00:00 2001 From: Andrew Hutchings Date: Wed, 14 Feb 2018 16:43:19 +0000 Subject: [PATCH] Fix view alias regression An unneeded change from the fix for MCOL-1070 that broke vTpch01b.sql --- dbcon/mysql/ha_calpont_execplan.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dbcon/mysql/ha_calpont_execplan.cpp b/dbcon/mysql/ha_calpont_execplan.cpp index f07bc624b..6cb25c269 100755 --- a/dbcon/mysql/ha_calpont_execplan.cpp +++ b/dbcon/mysql/ha_calpont_execplan.cpp @@ -1810,11 +1810,6 @@ SimpleColumn* buildSimpleColFromDerivedTable(gp_walk_info& gwi, Item_field* ifp) { sc->derivedTable(derivedName); sc->derivedRefCol(cols[j].get()); - if (tblList->belong_to_view) - { - sc->viewName(lower(tblList->belong_to_view->alias)); - } - } break; }