1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-3814 add back lower to viewName assignment

This commit is contained in:
David Hall
2020-08-12 10:00:04 -05:00
parent 70f40210d0
commit 478426c8bf

View File

@ -2451,11 +2451,12 @@ SimpleColumn* buildSimpleColFromDerivedTable(gp_walk_info& gwi, Item_field* ifp)
sc->timeZone(gwi.thd->variables.time_zone->get_name()->ptr()); sc->timeZone(gwi.thd->variables.time_zone->get_name()->ptr());
if (!viewName.empty()) if (!viewName.empty())
{ {
sc->viewName(viewName); // TODO: Remove lower when MCOL-4144 fixed
sc->viewName(lower(viewName));
} }
else else
{ {
sc->viewName(csep->derivedTbView()); sc->viewName(lower(csep->derivedTbView()));
} }
sc->resultType(cols[j]->resultType()); sc->resultType(cols[j]->resultType());
sc->hasAggregate(cols[j]->hasAggregate()); sc->hasAggregate(cols[j]->hasAggregate());