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 This commit changes NULL and EMPTY values.
It also contains the refactored DataConvert::decimalToString(). Row::toString UT is finished.
This commit is contained in:
@ -69,6 +69,18 @@ namespace utils
|
||||
return 16;
|
||||
}
|
||||
}
|
||||
inline uint8_t precisionByWidth(unsigned w)
|
||||
{
|
||||
switch(w)
|
||||
{
|
||||
case 16:
|
||||
return 38;
|
||||
// In case we will support decimals that spans 32 bytes.
|
||||
default:
|
||||
return 65;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user