You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +03:00
MCOL-104 First pass of InfiniDB rename in code
This commit is contained in:
@@ -53,7 +53,7 @@ using namespace logging;
|
||||
namespace
|
||||
{
|
||||
|
||||
const int64_t infinidb_precision[19] =
|
||||
const int64_t columnstore_precision[19] =
|
||||
{
|
||||
0,
|
||||
9,
|
||||
@@ -415,7 +415,7 @@ int64_t number_int_value(const string& data,
|
||||
(ct.colDataType == CalpontSystemCatalog::UDECIMAL) ||
|
||||
(ct.scale > 0))
|
||||
{
|
||||
int64_t rangeUp = infinidb_precision[ct.precision];
|
||||
int64_t rangeUp = columnstore_precision[ct.precision];
|
||||
int64_t rangeLow = -rangeUp;
|
||||
|
||||
if (intVal > rangeUp)
|
||||
|
@@ -1168,7 +1168,7 @@ IDB_Decimal Func_cast_decimal::getDecimalVal(Row& row,
|
||||
int32_t decimals = parm[1]->data()->getIntVal(row, isNull);
|
||||
int64_t max_length = parm[2]->data()->getIntVal(row, isNull);
|
||||
|
||||
// As of 2.0, max length infiniDB can support is 18
|
||||
// As of 2.0, max length columnStore can support is 18
|
||||
// decimal(0,0) is valid, and no limit on integer number
|
||||
if (max_length > 18 || max_length <= 0)
|
||||
max_length = 18;
|
||||
|
@@ -86,13 +86,13 @@
|
||||
2045 ERR_PRIMPROC_DOWN At least one PrimProc closed the connection unexpectedly.
|
||||
|
||||
2046 ERR_READ_INPUT_DATALIST Input datalist read error.
|
||||
2047 ERR_LOCAL_QUERY_UM Query attempted on UM (no PM) with infinidb_local_query set.
|
||||
2047 ERR_LOCAL_QUERY_UM Query attempted on UM (no PM) with columnstore_local_query set.
|
||||
|
||||
# disk-based join runtime errors from supported queries
|
||||
2048 ERR_DBJ_FILE_IO_ERROR There was an IO error doing a disk-based join.
|
||||
2049 ERR_DBJ_UNKNOWN_ERROR An unknown error error occured doing a disk-based join. Check the error log & contact support.
|
||||
2050 ERR_DBJ_DISK_USAGE_LIMIT This query exceeded the temp disk usage limit. Raise infinidb_diskjoin_smallsidelimit if possible and try again.
|
||||
2051 ERR_DBJ_DATA_DISTRIBUTION The data distribution in this query overflowed a disk-based join bucket. If possible, raise infinidb_diskjoin_bucketsize and try again.
|
||||
2050 ERR_DBJ_DISK_USAGE_LIMIT This query exceeded the temp disk usage limit. Raise columnstore_diskjoin_smallsidelimit if possible and try again.
|
||||
2051 ERR_DBJ_DATA_DISTRIBUTION The data distribution in this query overflowed a disk-based join bucket. If possible, raise columnstore_diskjoin_bucketsize and try again.
|
||||
2052 INFO_SWITCHING_TO_DJS Out of UM memory, switching to disk-based join.
|
||||
|
||||
2053 ERR_FUNC_OUT_OF_RANGE_RESULT The result is out of range for function %1% using value(s): %2% %3%
|
||||
@@ -141,7 +141,7 @@
|
||||
4014 ERR_CONSTRAINTS Constraints are currently not supported in Columnstore.
|
||||
4015 ERR_NOT_NULL_CONSTRAINTS Column '%1%' cannot be null.
|
||||
4016 ERR_DML_DDL_SLAVE DML and DDL statements for Columnstore tables can only be run from the replication master.
|
||||
4017 ERR_DML_DDL_LOCAL DML and DDL statements are not allowed when infinidb_local_query is greater than 0.
|
||||
4017 ERR_DML_DDL_LOCAL DML and DDL statements are not allowed when columnstore_local_query is greater than 0.
|
||||
4018 ERR_NON_SUPPORT_SYNTAX The statement is not supported in Columnstore.
|
||||
|
||||
# UDF
|
||||
|
Reference in New Issue
Block a user