You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-09-02 12:41:17 +03:00
MCOL-641 Ternary operation with different datatype of the two
resulting expressions cannot be used as a template argument. This is because the template instantiation happens at compile time and cannot depend on the runtime value of the evaluating expression.
This commit is contained in:
committed by
Roman Nozdrin
parent
1c3a34a3d0
commit
88e106f018
@@ -156,16 +156,6 @@ inline void getScaleDivisor(T& divisor, const int8_t scale)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@brief The template to generalise common math operation
|
||||
execution path using struct from <functional>.
|
||||
*/
|
||||
template<typename BinaryOperation, typename OverflowCheck>
|
||||
void execute(const execplan::IDB_Decimal& l,
|
||||
const execplan::IDB_Decimal& r,
|
||||
execplan::IDB_Decimal& result,
|
||||
BinaryOperation op,
|
||||
OverflowCheck overflowCheck);
|
||||
|
||||
/**
|
||||
@brief Contains subset of decimal related operations.
|
||||
|
Reference in New Issue
Block a user