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

TIMESTAMP namespace fixes

Namespace issues in the TIMESTAMP code caused compiling to break. This
patch fixes that.
This commit is contained in:
Andrew Hutchings
2019-06-12 15:05:20 +01:00
parent d6cdef3d86
commit 1db56546ee
22 changed files with 69 additions and 69 deletions

View File

@ -73,10 +73,10 @@ int64_t Func_time_to_sec::getIntVal(rowgroup::Row& row,
case CalpontSystemCatalog::TIMESTAMP:
{
val = parm[0]->data()->getIntVal(row, isNull);
TimeStamp timestamp(val);
dataconvert::TimeStamp timestamp(val);
int64_t seconds = timestamp.second;
MySQLTime time;
gmtSecToMySQLTime(seconds, time, fTimeZone);
dataconvert::MySQLTime time;
dataconvert::gmtSecToMySQLTime(seconds, time, fTimeZone);
hour = time.hour;
min = time.minute;
sec = time.second;