You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2026-01-06 08:21:10 +03:00
MCOL-641 Add support for functions (Part 2).
This commit is contained in:
committed by
Roman Nozdrin
parent
bd0d5af123
commit
6aea838360
@@ -725,7 +725,10 @@ inline bool TreeNode::getBoolVal()
|
||||
|
||||
case CalpontSystemCatalog::DECIMAL:
|
||||
case CalpontSystemCatalog::UDECIMAL:
|
||||
return (fResult.decimalVal.value != 0);
|
||||
if (fResultType.colWidth == datatypes::MAXDECIMALWIDTH)
|
||||
return (fResult.decimalVal.s128Value != 0);
|
||||
else
|
||||
return (fResult.decimalVal.value != 0);
|
||||
|
||||
default:
|
||||
throw logging::InvalidConversionExcept("TreeNode::getBoolVal: Invalid conversion.");
|
||||
|
||||
Reference in New Issue
Block a user