You've already forked mariadb-columnstore-engine
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:
committed by
Patrick LeBlanc
parent
0db52396f9
commit
d6ef3cad3d
@ -195,8 +195,8 @@ int64_t Func_bitand::getIntVal(Row& row,
|
||||
uint64_t val1 = 0;
|
||||
uint64_t val2 = 0;
|
||||
|
||||
if (!getUIntValFromParm(row, parm[0], val1, isNull, fTimeZone) ||
|
||||
!getUIntValFromParm(row, parm[1], val2, isNull, fTimeZone))
|
||||
if (!getUIntValFromParm(row, parm[0], val1, isNull, timeZone()) ||
|
||||
!getUIntValFromParm(row, parm[1], val2, isNull, timeZone()))
|
||||
{
|
||||
std::ostringstream oss;
|
||||
oss << "bitand: datatype of " << execplan::colDataTypeToString(operationColType.colDataType);
|
||||
@ -231,8 +231,8 @@ int64_t Func_leftshift::getIntVal(Row& row,
|
||||
uint64_t val1 = 0;
|
||||
uint64_t val2 = 0;
|
||||
|
||||
if (!getUIntValFromParm(row, parm[0], val1, isNull, fTimeZone) ||
|
||||
!getUIntValFromParm(row, parm[1], val2, isNull, fTimeZone))
|
||||
if (!getUIntValFromParm(row, parm[0], val1, isNull, timeZone()) ||
|
||||
!getUIntValFromParm(row, parm[1], val2, isNull, timeZone()))
|
||||
{
|
||||
std::ostringstream oss;
|
||||
oss << "leftshift: datatype of " << execplan::colDataTypeToString(operationColType.colDataType);
|
||||
@ -267,8 +267,8 @@ int64_t Func_rightshift::getIntVal(Row& row,
|
||||
uint64_t val1 = 0;
|
||||
uint64_t val2 = 0;
|
||||
|
||||
if (!getUIntValFromParm(row, parm[0], val1, isNull, fTimeZone) ||
|
||||
!getUIntValFromParm(row, parm[1], val2, isNull, fTimeZone))
|
||||
if (!getUIntValFromParm(row, parm[0], val1, isNull, timeZone()) ||
|
||||
!getUIntValFromParm(row, parm[1], val2, isNull, timeZone()))
|
||||
{
|
||||
std::ostringstream oss;
|
||||
oss << "rightshift: datatype of " << execplan::colDataTypeToString(operationColType.colDataType);
|
||||
@ -303,8 +303,8 @@ int64_t Func_bitor::getIntVal(Row& row,
|
||||
uint64_t val1 = 0;
|
||||
uint64_t val2 = 0;
|
||||
|
||||
if (!getUIntValFromParm(row, parm[0], val1, isNull, fTimeZone) ||
|
||||
!getUIntValFromParm(row, parm[1], val2, isNull, fTimeZone))
|
||||
if (!getUIntValFromParm(row, parm[0], val1, isNull, timeZone()) ||
|
||||
!getUIntValFromParm(row, parm[1], val2, isNull, timeZone()))
|
||||
{
|
||||
std::ostringstream oss;
|
||||
oss << "bitor: datatype of " << execplan::colDataTypeToString(operationColType.colDataType);
|
||||
@ -347,8 +347,8 @@ int64_t Func_bitxor::getIntVal(Row& row,
|
||||
uint64_t val1 = 0;
|
||||
uint64_t val2 = 0;
|
||||
|
||||
if (!getUIntValFromParm(row, parm[0], val1, isNull, fTimeZone) ||
|
||||
!getUIntValFromParm(row, parm[1], val2, isNull, fTimeZone))
|
||||
if (!getUIntValFromParm(row, parm[0], val1, isNull, timeZone()) ||
|
||||
!getUIntValFromParm(row, parm[1], val2, isNull, timeZone()))
|
||||
{
|
||||
std::ostringstream oss;
|
||||
oss << "bitxor: datatype of " << execplan::colDataTypeToString(operationColType.colDataType);
|
||||
@ -382,7 +382,7 @@ int64_t Func_bit_count::getIntVal(Row& row,
|
||||
|
||||
uint64_t val = 0;
|
||||
|
||||
if (!getUIntValFromParm(row, parm[0], val, isNull, fTimeZone))
|
||||
if (!getUIntValFromParm(row, parm[0], val, isNull, timeZone()))
|
||||
{
|
||||
std::ostringstream oss;
|
||||
oss << "bit_count: datatype of " << execplan::colDataTypeToString(operationColType.colDataType);
|
||||
|
Reference in New Issue
Block a user