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-1228 Allow alter table for TEXT/BLOB
CHANGE COLUMN was blocked for TEXT and BLOB types. This fix applies to things like TINYTEXT as well as the only difference internally is the column width.
This commit is contained in:
@ -174,7 +174,10 @@ bool typesAreSame(const CalpontSystemCatalog::ColType& colType, const ColumnType
|
|||||||
case (CalpontSystemCatalog::CLOB):
|
case (CalpontSystemCatalog::CLOB):
|
||||||
break;
|
break;
|
||||||
case (CalpontSystemCatalog::BLOB):
|
case (CalpontSystemCatalog::BLOB):
|
||||||
|
if (newType.fType == DDL_BLOB && colType.colWidth == newType.fLength) return true;
|
||||||
|
break;
|
||||||
case (CalpontSystemCatalog::TEXT):
|
case (CalpontSystemCatalog::TEXT):
|
||||||
|
if (newType.fType == DDL_TEXT && colType.colWidth == newType.fLength) return true;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user