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:
@@ -78,7 +78,7 @@ int64_t Func_date::getIntVal(rowgroup::Row& row,
|
||||
case execplan::CalpontSystemCatalog::TIMESTAMP:
|
||||
{
|
||||
int64_t val1 = parm[0]->data()->getTimestampIntVal(row, isNull);
|
||||
value = dataconvert::DataConvert::timestampToString(val1, fTimeZone);
|
||||
value = dataconvert::DataConvert::timestampToString(val1, timeZone());
|
||||
value = value.substr(0, 10);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user