1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-05 16:15:50 +03:00

build possible after lot of changes

This commit is contained in:
Nedeljko Stefanovic
2025-07-28 19:54:31 +00:00
parent a00b06b61d
commit 73aa47a320
67 changed files with 614 additions and 260 deletions

View File

@@ -100,7 +100,7 @@ bool checkTextTypesLengthAreEqual(const CalpontSystemCatalog::ColType& colType,
bool typesAreSame(const CalpontSystemCatalog::ColType& colType, const ColumnType& newType)
{
switch (colType.colDataType)
switch (colType.colDataType.kind())
{
case (CalpontSystemCatalog::BIT):
if (newType.fType == DDL_BIT)
@@ -109,7 +109,7 @@ bool typesAreSame(const CalpontSystemCatalog::ColType& colType, const ColumnType
break;
case (CalpontSystemCatalog::ENUM):
if (newType.fType == DDL_ENUM && colType.enumVals == newType.fEnumValues)
if (newType.fType == DDL_ENUM && *(colType.colDataType.values()) == newType.fEnumValues)
return true;
break;
@@ -2198,7 +2198,7 @@ void AlterTableProcessor::tableComment(uint32_t sessionID, execplan::CalpontSyst
bool validated = true;
bool negative = false;
switch (type.colDataType)
switch (type.colDataType.kind())
{
case CalpontSystemCatalog::BIGINT:
if (static_cast<int64_t>(nextVal) > MAX_BIGINT)