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
MCOL-641 Initial version of Math operations for wide decimal.
This commit is contained in:
@ -18,7 +18,6 @@
|
||||
#ifndef UTILS_COLWIDTH_H
|
||||
#define UTILS_COLWIDTH_H
|
||||
|
||||
#include "calpontsystemcatalog.h"
|
||||
#include "branchpred.h"
|
||||
|
||||
namespace utils
|
||||
@ -36,13 +35,6 @@ namespace utils
|
||||
return width <= MAXLEGACYWIDTH;
|
||||
}
|
||||
|
||||
inline bool isWideDecimalType(const execplan::CalpontSystemCatalog::ColType& ct)
|
||||
{
|
||||
return ((ct.colDataType == execplan::CalpontSystemCatalog::DECIMAL ||
|
||||
ct.colDataType == execplan::CalpontSystemCatalog::UDECIMAL) &&
|
||||
ct.colWidth == MAXCOLUMNWIDTH);
|
||||
}
|
||||
|
||||
/** @brief Map a DECIMAL precision to data width in bytes */
|
||||
inline uint8_t widthByPrecision(unsigned p)
|
||||
{
|
||||
|
Reference in New Issue
Block a user