You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-641 Add support for functions (Part 1).
This commit is contained in:
committed by
Roman Nozdrin
parent
554c6da8e8
commit
cfe35b5c7f
@ -1947,6 +1947,10 @@ inline void copyRow(const Row& in, Row* out, uint32_t colCount)
|
||||
out->setUintField(in.getUintField(i), i);
|
||||
else if (UNLIKELY(in.getColTypes()[i] == execplan::CalpontSystemCatalog::LONGDOUBLE))
|
||||
out->setLongDoubleField(in.getLongDoubleField(i), i);
|
||||
else if (UNLIKELY((in.getColType(i) == execplan::CalpontSystemCatalog::DECIMAL ||
|
||||
in.getColType(i) == execplan::CalpontSystemCatalog::UDECIMAL) &&
|
||||
in.getColumnWidth(i) == datatypes::MAXDECIMALWIDTH))
|
||||
in.copyBinaryField(*out, i, i);
|
||||
else
|
||||
out->setIntField(in.getIntField(i), i);
|
||||
}
|
||||
|
Reference in New Issue
Block a user