You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-27 08:21:15 +03:00
MCOL-3776: PrimProc crash
Added sync to timezone var accesses.
This commit is contained in:
@@ -77,7 +77,7 @@ string Func_time_format::getStrVal(rowgroup::Row& row,
|
||||
dataconvert::TimeStamp timestamp(parm[0]->data()->getIntVal(row, isNull));
|
||||
int64_t seconds = timestamp.second;
|
||||
dataconvert::MySQLTime m_time;
|
||||
dataconvert::gmtSecToMySQLTime(seconds, m_time, fTimeZone);
|
||||
dataconvert::gmtSecToMySQLTime(seconds, m_time, timeZone());
|
||||
hour = m_time.hour;
|
||||
min = m_time.minute;
|
||||
sec = m_time.second;
|
||||
|
||||
Reference in New Issue
Block a user