You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-26 05:02:32 +03:00
Dataconvert::decimalToString badly fails w/o 20th member of mcs_pow_10 so I returned it
WF::percentile runtime threw an exception b/c of wrong DT deduced from its argument Replaced literals with constants Tought WF_sum_avg::checkSumLimit to use refs instead of values
This commit is contained in:
@@ -82,7 +82,7 @@ constexpr uint8_t MAXLEGACYWIDTH = 8U;
|
||||
constexpr uint8_t MAXSCALEINC4AVG = 4U;
|
||||
constexpr int8_t IGNOREPRECISION = -1;
|
||||
|
||||
const int64_t mcs_pow_10[19] =
|
||||
const uint64_t mcs_pow_10[20] =
|
||||
{
|
||||
1ULL,
|
||||
10ULL,
|
||||
@@ -103,6 +103,7 @@ const int64_t mcs_pow_10[19] =
|
||||
10000000000000000ULL,
|
||||
100000000000000000ULL,
|
||||
1000000000000000000ULL,
|
||||
10000000000000000000ULL,
|
||||
};
|
||||
const int128_t mcs_pow_10_128[20] =
|
||||
{
|
||||
|
Reference in New Issue
Block a user