1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-2139 syntax update based on feedback

This commit is contained in:
jmrojas2332
2020-02-03 20:13:55 +00:00
parent f1285dd79e
commit 9fbfb63b85

View File

@ -5664,7 +5664,9 @@ void gp_walk(const Item* item, void* arg)
if (col->type() == Item::FIELD_ITEM)
{
gwip->columnMap.insert(CalpontSelectExecutionPlan::ColumnMap::value_type(string(((Item_field*)item)->field_name.str), scsp));
const auto &field_name = string(((Item_field*)item)->field_name.str);
auto col = CalpontSelectExecutionPlan::ColumnMap::value_type(field_name, scsp);
gwip->columnMap.insert(col);
}
}