You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Fully resolve potentially ambiguous symbols by removing using namespace statements from headers which have a cascading effect. This causes potential behavior changes when switching to c++11 since symbols can be exported from std and boost while both have been imported into the global namespace.
This commit is contained in:
@ -59,8 +59,8 @@ int64_t Func_to_days::getIntVal(rowgroup::Row& row,
|
||||
month = 0,
|
||||
day = 0;
|
||||
|
||||
DateTime aDateTime;
|
||||
Time aTime;
|
||||
dataconvert::DateTime aDateTime;
|
||||
dataconvert::Time aTime;
|
||||
|
||||
switch (type)
|
||||
{
|
||||
@ -89,7 +89,7 @@ int64_t Func_to_days::getIntVal(rowgroup::Row& row,
|
||||
case CalpontSystemCatalog::TIME:
|
||||
{
|
||||
int64_t val;
|
||||
aDateTime = static_cast<DateTime>(nowDatetime());
|
||||
aDateTime = static_cast<dataconvert::DateTime>(nowDatetime());
|
||||
aTime = parm[0]->data()->getTimeIntVal(row, isNull);
|
||||
aDateTime.hour = 0;
|
||||
aDateTime.minute = 0;
|
||||
|
Reference in New Issue
Block a user