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 Add support for functions (Part 1).
This commit is contained in:
committed by
Roman Nozdrin
parent
554c6da8e8
commit
cfe35b5c7f
@ -78,30 +78,6 @@ const int64_t columnstore_precision[19] =
|
||||
999999999999999999LL
|
||||
};
|
||||
|
||||
const string columnstore_big_precision[20] =
|
||||
{
|
||||
"9999999999999999999",
|
||||
"99999999999999999999",
|
||||
"999999999999999999999",
|
||||
"9999999999999999999999",
|
||||
"99999999999999999999999",
|
||||
"999999999999999999999999",
|
||||
"9999999999999999999999999",
|
||||
"99999999999999999999999999",
|
||||
"999999999999999999999999999",
|
||||
"9999999999999999999999999999",
|
||||
"99999999999999999999999999999",
|
||||
"999999999999999999999999999999",
|
||||
"9999999999999999999999999999999",
|
||||
"99999999999999999999999999999999",
|
||||
"999999999999999999999999999999999",
|
||||
"9999999999999999999999999999999999",
|
||||
"99999999999999999999999999999999999",
|
||||
"999999999999999999999999999999999999",
|
||||
"9999999999999999999999999999999999999",
|
||||
"99999999999999999999999999999999999999"
|
||||
};
|
||||
|
||||
template <class T>
|
||||
bool from_string(T& t, const std::string& s, std::ios_base & (*f)(std::ios_base&))
|
||||
{
|
||||
|
@ -118,6 +118,30 @@ const int64_t IDB_pow[19] =
|
||||
1000000000000000000LL
|
||||
};
|
||||
|
||||
const std::string columnstore_big_precision[20] =
|
||||
{
|
||||
"9999999999999999999",
|
||||
"99999999999999999999",
|
||||
"999999999999999999999",
|
||||
"9999999999999999999999",
|
||||
"99999999999999999999999",
|
||||
"999999999999999999999999",
|
||||
"9999999999999999999999999",
|
||||
"99999999999999999999999999",
|
||||
"999999999999999999999999999",
|
||||
"9999999999999999999999999999",
|
||||
"99999999999999999999999999999",
|
||||
"999999999999999999999999999999",
|
||||
"9999999999999999999999999999999",
|
||||
"99999999999999999999999999999999",
|
||||
"999999999999999999999999999999999",
|
||||
"9999999999999999999999999999999999",
|
||||
"99999999999999999999999999999999999",
|
||||
"999999999999999999999999999999999999",
|
||||
"9999999999999999999999999999999999999",
|
||||
"99999999999999999999999999999999999999"
|
||||
};
|
||||
|
||||
const int32_t SECS_PER_MIN = 60;
|
||||
const int32_t MINS_PER_HOUR = 60;
|
||||
const int32_t HOURS_PER_DAY = 24;
|
||||
|
Reference in New Issue
Block a user