From 478426c8bfe1f9a59ba79d783608877701875fc5 Mon Sep 17 00:00:00 2001 From: David Hall Date: Wed, 12 Aug 2020 10:00:04 -0500 Subject: [PATCH] MCOL-3814 add back lower to viewName assignment --- dbcon/mysql/ha_mcs_execplan.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dbcon/mysql/ha_mcs_execplan.cpp b/dbcon/mysql/ha_mcs_execplan.cpp index 8ae75b42d..1abed2c99 100755 --- a/dbcon/mysql/ha_mcs_execplan.cpp +++ b/dbcon/mysql/ha_mcs_execplan.cpp @@ -2451,11 +2451,12 @@ SimpleColumn* buildSimpleColFromDerivedTable(gp_walk_info& gwi, Item_field* ifp) sc->timeZone(gwi.thd->variables.time_zone->get_name()->ptr()); if (!viewName.empty()) { - sc->viewName(viewName); + // TODO: Remove lower when MCOL-4144 fixed + sc->viewName(lower(viewName)); } else { - sc->viewName(csep->derivedTbView()); + sc->viewName(lower(csep->derivedTbView())); } sc->resultType(cols[j]->resultType()); sc->hasAggregate(cols[j]->hasAggregate());