You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-25 20:23:16 +03:00
MCOL-3776: PrimProc crash
Added sync to timezone var accesses.
This commit is contained in:
@@ -181,7 +181,7 @@ int64_t Func_add_time::getTimestampIntVal(rowgroup::Row& row,
|
||||
TimeStamp timestamp(val1);
|
||||
int64_t seconds = timestamp.second;
|
||||
MySQLTime m_time;
|
||||
gmtSecToMySQLTime(seconds, m_time, fTimeZone);
|
||||
gmtSecToMySQLTime(seconds, m_time, timeZone());
|
||||
dt1.year = m_time.year;
|
||||
dt1.month = m_time.month;
|
||||
dt1.day = m_time.day;
|
||||
|
||||
Reference in New Issue
Block a user