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:
@@ -76,7 +76,7 @@ int64_t Func_time_to_sec::getIntVal(rowgroup::Row& row,
|
||||
dataconvert::TimeStamp timestamp(val);
|
||||
int64_t seconds = timestamp.second;
|
||||
dataconvert::MySQLTime time;
|
||||
dataconvert::gmtSecToMySQLTime(seconds, time, fTimeZone);
|
||||
dataconvert::gmtSecToMySQLTime(seconds, time, timeZone());
|
||||
hour = time.hour;
|
||||
min = time.minute;
|
||||
sec = time.second;
|
||||
|
||||
Reference in New Issue
Block a user