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

Merge pull request #1049 from pleblanc1976/mcol-3776

Mcol 3776 - shared but unsync'd timezone var
This commit is contained in:
Patrick LeBlanc
2020-02-13 18:02:03 -06:00
committed by Patrick LeBlanc
parent 0db52396f9
commit d6ef3cad3d
42 changed files with 85 additions and 80 deletions

View File

@ -134,7 +134,7 @@ int64_t Func_if::getIntVal(Row& row,
bool& isNull,
CalpontSystemCatalog::ColType&)
{
if (boolVal(parm[0], row, fTimeZone))
if (boolVal(parm[0], row, timeZone()))
{
return parm[1]->data()->getIntVal(row, isNull);
}
@ -151,7 +151,7 @@ string Func_if::getStrVal(Row& row,
CalpontSystemCatalog::ColType&)
{
if (boolVal(parm[0], row, fTimeZone))
if (boolVal(parm[0], row, timeZone()))
{
return parm[1]->data()->getStrVal(row, isNull);
}
@ -167,7 +167,7 @@ IDB_Decimal Func_if::getDecimalVal(Row& row,
bool& isNull,
CalpontSystemCatalog::ColType&)
{
if (boolVal(parm[0], row, fTimeZone))
if (boolVal(parm[0], row, timeZone()))
{
return parm[1]->data()->getDecimalVal(row, isNull);
}
@ -183,7 +183,7 @@ double Func_if::getDoubleVal(Row& row,
bool& isNull,
CalpontSystemCatalog::ColType&)
{
if (boolVal(parm[0], row, fTimeZone))
if (boolVal(parm[0], row, timeZone()))
{
return parm[1]->data()->getDoubleVal(row, isNull);
}
@ -198,7 +198,7 @@ long double Func_if::getLongDoubleVal(Row& row,
bool& isNull,
CalpontSystemCatalog::ColType&)
{
if (boolVal(parm[0], row, fTimeZone))
if (boolVal(parm[0], row, timeZone()))
{
return parm[1]->data()->getLongDoubleVal(row, isNull);
}
@ -214,7 +214,7 @@ int32_t Func_if::getDateIntVal(Row& row,
bool& isNull,
CalpontSystemCatalog::ColType&)
{
if (boolVal(parm[0], row, fTimeZone))
if (boolVal(parm[0], row, timeZone()))
{
return parm[1]->data()->getDateIntVal(row, isNull);
}
@ -230,7 +230,7 @@ int64_t Func_if::getDatetimeIntVal(Row& row,
bool& isNull,
CalpontSystemCatalog::ColType&)
{
if (boolVal(parm[0], row, fTimeZone))
if (boolVal(parm[0], row, timeZone()))
{
return parm[1]->data()->getDatetimeIntVal(row, isNull);
}
@ -246,7 +246,7 @@ int64_t Func_if::getTimestampIntVal(Row& row,
bool& isNull,
CalpontSystemCatalog::ColType&)
{
if (boolVal(parm[0], row, fTimeZone))
if (boolVal(parm[0], row, timeZone()))
{
return parm[1]->data()->getTimestampIntVal(row, isNull);
}
@ -262,7 +262,7 @@ int64_t Func_if::getTimeIntVal(Row& row,
bool& isNull,
CalpontSystemCatalog::ColType&)
{
if (boolVal(parm[0], row, fTimeZone))
if (boolVal(parm[0], row, timeZone()))
{
return parm[1]->data()->getTimeIntVal(row, isNull);
}